Kinook Software Forum

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

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 11-06-2015, 12:25 PM
swhite swhite is online now
Registered User
 
Join Date: 11-06-2015
Posts: 2
How do I assign the output of command to a macro

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
Reply With Quote
  #2  
Old 11-06-2015, 12:30 PM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 6,034
See the vbld_StepDone script event and LASTSTEP_OUTPUT system macro.

http://www.kinook.com/VisBuildPro/Ma...riptevents.htm

http://www.kinook.com/VisBuildPro/Ma...stemmacros.htm
Reply With Quote
  #3  
Old 11-06-2015, 12:34 PM
swhite swhite is online now
Registered User
 
Join Date: 11-06-2015
Posts: 2
Thanks for the prompt reply. The LASTSTEP_OUTPUT is what i need here.
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 11:20 PM.


Copyright © 1999-2023 Kinook Software, Inc.