loops - looping not working javascript -


how can loop imm(imacros) script javascript

can me ?

macro +=  "url goto=http://test.com/" + "\n";  macro +=  "set !errorignore yes" + "\n";  macro +=  "set !timeout_page 10" + "\n";  macro +=  "set !extract null " + "\n";  macro +=  "wait seconds=1" + "\n";  macro +=  "tag pos={{i}} type=a attr=id:like-*" + "\n";  macro +=  "wait seconds=0.5" + "\n";  macro +=  "wait seconds=360" + "\n";  for(i=1;i<10;i++) { ret=iimset("i",i); ret=iimplay(macro); } 

var macro;      macro =  "code:";     macro +=  "url goto=http://test.com/" + "\n";      macro +=  "set !errorignore yes" + "\n";      macro +=  "set !timeout_page 10" + "\n";      macro +=  "set !extract null " + "\n";      macro +=  "wait seconds=1" + "\n";      macro +=  "tag pos={{i}} type=a attr=id:like-*" + "\n";      macro +=  "wait seconds=0.5" + "\n";      macro +=  "wait seconds=360" + "\n";      for(i=1;i<10;i++)     {     iimset("i",i);     ret=iimplay(macro);     } 

try now.

edit: corrected previous bug.


Comments

Popular posts from this blog

jquery - How can I dynamically add a browser tab? -

node.js - Getting the socket id,user id pair of a logged in user(s) -

keyboard - C++ GetAsyncKeyState alternative -