PDA

View Full Version : How do I assign the output of command to a macro


swhite
11-06-2015, 12:25 PM
I am executing git describe with the following command-line options.
--match v_*

this outputs the value i want, but i can't figure out how to assign that value to a Macro, I need to parse that output in a VBScript task.

Thanks

kinook
11-06-2015, 12:30 PM
See the vbld_StepDone script event and LASTSTEP_OUTPUT system macro.

http://www.kinook.com/VisBuildPro/Manual/scriptevents.htm

http://www.kinook.com/VisBuildPro/Manual/systemmacros.htm

swhite
11-06-2015, 12:34 PM
Thanks for the prompt reply. The LASTSTEP_OUTPUT is what i need here. :)