Ads

Tuesday, 16 July 2013

How to invoke an iMacro from JavaScript?

Posted By: MHS CHANEL - 09:52
The answer is this.
iimPlay("Test.iim")
When calling a macro inside a Macros folder put "" around the macro and it will play it. Also you can add timer for that macro like this.
iimPlay("Test.iim",60)
This means the macro has maximum 60 seconds to complete.
When playing the macro which is declared as variable inside the .js file then you do it like this
var test;

test
="CODE:";
test
+="SET !ERRORIGNORE YES "+"\n";
test
+="URL GOTO=www.google.com "+"\n";


iimPlay
(test,60)
And that is all.

About MHS CHANEL

Hi, I am Hafeez Ullah Khan. A webdesigner, blogspot developer and UI designer. I am a certified Themeforest top contributor and popular at JavaScript engineers. We have a team of geeks and professinal programmers, developers work together and make unique blogger templates.

© 2016 - Blogger Templates Designed by: Templatezy