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-21-2006, 07:04 PM
Dave_Novak Dave_Novak is online now
Registered User
 
Join Date: 04-13-2006
Location: Atlanta, GA
Posts: 64
Finding out the current "Step Name"

Is there any way (through script events or whatever) to keep track of the current "Step Name" and store this in a Temporary Macro? Additionally, would I be able to tell what type of step it is?
Reply With Quote
  #2  
Old 04-21-2006, 08:56 PM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 6,034
The current step object is accessible as the named object Step from step script events, so
Step.Name
Step.Action

would return that information. To store in a temporary macro:

vbld_TempMacros().Add "MY_TEMP_MACRO", Step.Name

http://www.visualbuild.com/Manual/script.htm
http://www.visualbuild.com/Manual/nameproperty.htm
http://www.visualbuild.com/Manual/actionproperty.htm
http://www.visualbuild.com/Manual/sysscriptmisc.htm
http://www.visualbuild.com/Manual/macrosaddmethod.htm
http://www.visualbuild.com/Manual/objectmodel.htm
Reply With Quote
  #3  
Old 04-21-2006, 09:07 PM
Dave_Novak Dave_Novak is online now
Registered User
 
Join Date: 04-13-2006
Location: Atlanta, GA
Posts: 64
Excellent! Thanks!
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 04:11 PM.


Copyright © 1999-2023 Kinook Software, Inc.