I'm glad you posted that link, I am using the method shown there.
I ran into a problem marking the temporary variables as environment, as shown here.
"
For Each macro in vbld_TempMacros()
Builder.LogMessage ( "Found temp macro = " & macro.Name & ", Value= " & macro.Value )
macro.AddAsEnvVar = True
Next
"
I chained to the other VBP , using the "Pause at first step for debugging" option. The first time the chained VBP was invoked none of the macros appeared in the chained VBP. If I then exited the project and reran the action, all the macros appeared.
I don't know if the problem only occurs when debugging the project, but I wanted you to know about the bug.
|