Search found 2 matches

by ChapoGuzman
Sat Aug 24, 2013 4:42 pm
Forum: General Support & Discussions
Topic: Restart iMacro on Error Possible?
Replies: 3
Views: 5432

Re: Restart iMacro on Error Possible?

Hello dombrorj, You can call your macro from a script , check the return code for an error, and restart if necessary. For example... Dim im, ret Set im = CreateObject("iMacros") im.iimInit() Do ret = im.iimPlay("MyMacro") ' Exit the loop if the macro succeeds (1) ' or the user presses the Stop butt...
by ChapoGuzman
Sat Aug 24, 2013 5:30 am
Forum: Command Line and Scripting Interface
Topic: Need Help Script Inside! Just wont Execute Correctly
Replies: 0
Views: 1067

Need Help Script Inside! Just wont Execute Correctly

OKay first off I had the perfect script, but their was no way to run a else conditions so had to parlay everything in the javascript somewhat but now the scripts runs but not as intended. const iterations = 100; // Number of times to loop for (var i=0; i<iterations; i++){ iimSet('iteration', i ); ii...