Kinook Software Forum

Go Back   Kinook Software Forum > Visual Build Professional > [VBP] General Discussion
Register FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 03-31-2016, 09:02 PM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 6,027
It is intentional that all logged output, including the command-line if that option is checked (or if logging of the default step property is enabled), is included in the LASTSTEP_OUTPUT macro.

What you could do is remove the first line of the output before processing.
Code:
Sub vbld_StepDone()

	' remove first line of output, including CR/LF
	out = Application.ExpandMacrosAndScript("%LASTSTEP_OUTPUT%")
	out = Mid(out, InStr(out, vbCrLf)+2)
	Builder.LogMessage "LASTSTEP_OUTPUT with first line removed:"
	Builder.LogMessage out

End Sub
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



All times are GMT -5. The time now is 08:50 AM.


Copyright © 1999-2023 Kinook Software, Inc.