为什么不处理来自变量的点击事件

why not working click event from variable

我有简单的宏,必须转到网站然后点击元素 30 次。 这是我的宏,我做错了什么?

var macros, follow,start;
macros = "CODE:";
macros += "URL GOTO=http://twiends.com/home" + "\n";
follow += "TAG POS=1 TYPE=I ATTR=CLASS:'netfollow twitter'" + "\n";
iimPlay(macros)
for (i=1 ;i < 30; i++) {
    start = iimPlay(follow); 
}

这样试试:

var macros, follow, start;
macros = "CODE:";
macros += "URL GOTO=http://twiends.com/home" + "\n";
iimPlay(macros);
follow = "TAG POS=1 TYPE=I ATTR=CLASS:'netfollow twitter'" + "\n";
for (i = 1; i <= 30; i++) {
    start = iimPlayCode(follow); 
}