View Single Post
  #2  
Old 05-12-2004, 07:35 AM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 6,052
Sure. The step's output is available in the LASTSTEP_OUTPUT system macro and is populated by the time the vbld_StepDone event fires. To write it to a file for attaching to a mail message, you could use something like this

vbld_FSO().CreateTextFile("c:\history.txt").Write Application.ExpandMacros("%LASTSTEP_OUTPUT%")

Or to store in a temporary macro for use later in the build:

Application.Macros(vbldMacroTemporary).Add "HISTORY_OUTPUT", Application.Macros(vbldMacroSystem)("LASTSTEP_OUTP UT")
Reply With Quote