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 04-19-2010, 05:30 PM
tim.calderwood tim.calderwood is online now
Registered User
 
Join Date: 05-20-2003
Posts: 13
Need to save/dump macro values to a file

I am sorry if this has been answered before, but I am looking for a way to save all of the macros and values to a text file. Anybody know how to do this?
Reply With Quote
  #2  
Old 04-19-2010, 05:39 PM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 6,034
Which macros? In what format? Macros.Save will save in XML format.
http://www.kinook.com/VisBuildPro/Ma...savemethod.htm
Reply With Quote
  #3  
Old 04-19-2010, 05:54 PM
tim.calderwood tim.calderwood is online now
Registered User
 
Join Date: 05-20-2003
Posts: 13
We are trying to save all macros at the start of a build for later debugging if need be. Format really does not mater, XML will work just fine. I am trying to figure out how to use the Macro.Save currently.
Reply With Quote
  #4  
Old 04-19-2010, 06:10 PM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 6,034
To save all macros (highest precedence for different types with same name):
Code:
vbld_AllMacros.Save "%TEMP%\All.macros"
http://www.kinook.com/VisBuildPro/Ma...scriptmisc.htm

To save a particular type of macros (i.e., Temporary):
Code:
Application.Macros(vbldMacroTemporary).Save "%TEMP%\Temp.macros"
Put the code in a Run Script step.

http://www.kinook.com/VisBuildPro/Manual/runscript.htm
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 02:07 PM.


Copyright © 1999-2023 Kinook Software, Inc.