The problem I encounter is the "@" character in the "call another macro" command:
Code: Select all
[h: macroProps=""]
[h: macroProps=setStrProp(macroProps, "autoexec", "true")]
[h: command=encode("[h, MACRO(\"test@Lib:Test\") ]")]
[h: createMacro("someName", decode(command), macroProps)]
But when I run this code, I get the error:
Code: Select all
unexpected char: '@'
Code: Select all
expecting '&', found '#'
Code: Select all
Error in the list.
Command: command=encode("[h, MACRO(\"test@Lib:Test\") ]")
Code: Select all
[h, MACRO(
Now I am out of ideas
How can I write the code to make this work?