#1
|
|||
|
|||
Error expanding macros in property Message
Hi,
I have a step in my build script that sends an email. The message body of the email comes from a (dynamic) html file. I include it in this way: [vbld_FSO.OpenTextFile("%TEMP_LOG%").ReadAll()] Sometimes (I suspect when % signs are being used within the dynamic file) the following error occurs: Error expanding macros in property Message: <Error parsing macros: Unrecoverable Parse Error at position 2859 - expecting percent_sign> Could it be that the loaded content is being parsed? If yes, how can I prevent this parsing from happening? Thanks in advance, Jan |
#2
|
|||
|
|||
Yes, any percent (%) or square bracket ([]) chars in a step field are interpreted as macro/script markers. Use
[vbld_GetFileContents("%TEMP_LOG%")] instead, which will double up these characters in the specified file so they will be treated as literals by VBP. |
Thread Tools | |
Display Modes | Rate This Thread |
|
|