Kinook Software Forum

Kinook Software Forum (https://www.kinook.com/Forum/index.php)
-   [VBP] General Discussion (https://www.kinook.com/Forum/forumdisplay.php?f=2)
-   -   Finding out the current "Step Name" (https://www.kinook.com/Forum/showthread.php?t=1700)

Dave_Novak 04-21-2006 07:04 PM

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?

kinook 04-21-2006 08:56 PM

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

Dave_Novak 04-21-2006 09:07 PM

Excellent! Thanks!


All times are GMT -5. The time now is 01:56 AM.


Copyright © 1999-2023 Kinook Software, Inc.