Kinook Software Forum

Go Back   Kinook Software Forum > Visual Build Professional > [VBP] General Discussion

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 11-06-2015, 11:25 AM
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, 11:30 AM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 6,003
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, 11:34 AM
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

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

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 06:27 AM.


Copyright © 1999-2023 Kinook Software, Inc.