Thread: Laststep_output
View Single Post
  #1  
Old 02-20-2008, 02:30 PM
HippyCraig HippyCraig is offline
Registered User
 
Join Date: 07-27-2006
Location: Philly
Posts: 211
Laststep_output

I have a script action and when I try to assign the value of LASTSTEP_OUT to a variable I get errors.

output = Application.ExpandMacrosAndScript("%LASTSTEP_OUTPU T%")

What can I do the out put looks like the following:

Error in Run Script (VBScript) script code at Line 3, Column 78 (Unterminated string constant)
Code: output = Application.ExpandMacrosAndScript("Building list for $/BHWeb........



It appears that the Macro is expanded before being assigned to the variable. Please note that the variable contains quotes which would be perferable to have them.
Reply With Quote