The answer is:
iimPlay("Test.iim")
When you call a macro inside the Macros folder, put a "" around the macro and it will play it. Also you can add a timer for this macro like this.
iimPlay("Test.iim",60)
This means that the macro has a maximum of 60 seconds to complete.
When playing back a macro declared as a variable inside a .js file, you do it like
var test; test ="CODE:"; test +="SET !ERRORIGNORE YES "+"\n"; test +="URL GOTO=www.google.com "+"\n"; iimPlay(test,60)
And it's all.
source share