Kinook Software Forum

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

 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 06-28-2007, 04:22 PM
ambalboa ambalboa is online now
Registered User
 
Join Date: 06-25-2007
Location: Houston, TX
Posts: 70
How do you pass a value to a macro using vbscript?

I am trying to set a value for a macro using the Run Script action. I know how to pass a value from a macro to a variable, as in:

Set m = vbld_AllMacros()("VER_NUM") or

m = "%VER_NUM%

But now I want to do the opposite. I want (and I'm able) to get the version number of a file, but how do I pass that value to a macro? Let's assume the macro already exist. If the macro already has a version number stored in it, I would like to overwrite it. Does anyone know how to do this? Thanks in advance.
Reply With Quote
 

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 03:45 AM.


Copyright © 1999-2023 Kinook Software, Inc.