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")
|