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)
-   -   Macro in step name not translated when logged (https://www.kinook.com/Forum/showthread.php?t=1977)

Dave_Novak 08-03-2006 06:49 AM

Macro in step name not translated when logged
 
When I set up a “loop” in VBP, I like to include the loop variable as part of the step name so that I can easily see where I’m at. Here is an example of a loop that uses a macro in the step name:

....Set RELEASE_PROJECT_LIST macro
....For Each Project in RELEASE_PROJECT_LIST...
........Set NEXT_PROJECT macro
........Build Project: %NEXT_PROJECT%

When running VBP through the GUI, the tooltip for the step “Build Project: %NEXT_PROJECT%” correctly translates %NEXT_PROJECT% into its current value. However, when I look at this step in the log file, it is written as “Build Project: %NEXT_PROJECT%”.

Is there any way to tell the logger to translate the step name to show the actual embedded macro value? This would be very useful for logging purposes.

kinook 08-03-2006 01:33 PM

The v6.2 beta build correctly expands macros and/or script in the step name when logging.
http://www.kinook.com/Forum/showthre...?threadid=1973

Dave_Novak 08-03-2006 05:45 PM

Happy to hear that will be supported. I'll just leave my code "as is" and wait for the next release.


All times are GMT -5. The time now is 08:19 AM.


Copyright © 1999-2023 Kinook Software, Inc.