how can i loop imm (imacros) script using javascript
I searched a bit and found this:
for (i = 0; i < n; i++) { iimPlay(marconame.iim); }
but when i use it my browser (Firefox 18) freezes: \
for (i = 0; i < n; i++) { iimPlay("macroname.iim"); }
This option is also available.
var macro; macro ="CODE:"; macro +="TAG POS=1 TYPE=DIV ATTR=CLASS:some_class" var n=10; for(var i=0;i<n;i++) { iimPlay(macro) }
In the codes above, n is undefined, so it will return an error.