2

imacro - 我需要ATTR=ID:在每个循环后增加一

TAG POS=1 TYPE=SPAN ATTR=ID:ygtvlabelel92

ID:ygtvlabelel92必须ygtvlabelel93在 loop 和ygtvlabelel94....etc之后

4

2 回答 2

1
set !var1 1
add !var1 {{!loop}}
TAG POS=1 TYPE=SPAN ATTR=ID:ygtvlabelel9{{!var1}}
于 2013-09-19T18:29:19.197 回答
0
//this is the JavaScript code. You have to place this code inside .js file or it will not work
var macro;

macro ="CODE:";
macro +="TAG POS=1 TYPE=SPAN ATTR=ID:ygtvlabelel{{counter}}"+"\n";

//set the counter
var counter=92;

for(var i=0;i<=10;i++)
{
iimSet("counter",counter)
iimPlay(macro)


//increase counter
counter++;
}//end of i loop
于 2013-09-20T18:58:40.963 回答