IMacros:SyntaxError:missing;在声明之前(错误代码:991)

时间:2013-02-17 03:05:06

标签: imacros

我正在尝试编辑我的javascript代码以使其正常运行。 我保持这种语法错误: SyntaxError:missing;在陈述之前(错误代码:991)

这是我的剧本:

VERSION BUILD=7601105 RECORDER=FX
TAB T=1
SET !ERRORIGNORE YES
URL GOTO=http://addmefast.com/free_points/twitter.html
URL GOTO=addmefast.com/free_points/twitter.html
WAIT SECONDS=5
TAG POS=1 TYPE=A ATTR=TXT:Follow
TAG POS=1 TYPE=A ATTR=TXT:Follow
TAG POS=1 TYPE=A ATTR=TXT:Follow
TAG POS=1 TYPE=A ATTR=TXT:Follow
TAG POS=1 TYPE=A ATTR=TXT:Follow
TAG POS=1 TYPE=A ATTR=TXT:Follow
TAG POS=1 TYPE=A ATTR=TXT:Follow
TAG POS=1 TYPE=A ATTR=TXT:Follow
TAG POS=1 TYPE=A ATTR=TXT:Follow
TAG POS=1 TYPE=A ATTR=TXT:Follow
TAG POS=1 TYPE=A ATTR=TXT:Follow
TAG POS=1 TYPE=A ATTR=TXT:Follow
WAIT SECONDS=30
URL GOTO=http://addmefast.com/free_points/twitter_tweets.html
URL GOTO=addmefast.com/free_points/twitter_tweets.html
WAIT SECONDS=5
TAG POS=1 TYPE=A ATTR=TXT:Tweet
TAG POS=1 TYPE=A ATTR=TXT:Tweet
TAG POS=1 TYPE=A ATTR=TXT:Tweet
TAG POS=1 TYPE=A ATTR=TXT:Tweet
TAG POS=1 TYPE=A ATTR=TXT:Tweet
TAG POS=1 TYPE=A ATTR=TXT:Tweet
TAG POS=1 TYPE=A ATTR=TXT:Tweet
TAG POS=1 TYPE=A ATTR=TXT:Tweet
TAG POS=1 TYPE=A ATTR=TXT:Tweet
WAIT SECONDS=30
URL GOTO=http://addmefast.com/free_points/twitter_retweets.html
URL GOTO=addmefast.com/free_points/twitter_retweets.html
WAIT SECONDS=5
TAG POS=1 TYPE=A ATTR=TXT:Retweet
TAG POS=1 TYPE=A ATTR=TXT:Retweet
TAG POS=1 TYPE=A ATTR=TXT:Retweet
TAG POS=1 TYPE=A ATTR=TXT:Retweet
TAG POS=1 TYPE=A ATTR=TXT:Retweet
TAG POS=1 TYPE=A ATTR=TXT:Retweet
TAG POS=1 TYPE=A ATTR=TXT:Retweet
TAG POS=1 TYPE=A ATTR=TXT:Retweet
WAIT SECONDS=30

1 个答案:

答案 0 :(得分:2)

这是真正的javascript imacros代码:

var macro;
macro =  "CODE:";
macro +=  "VERSION BUILD=7601105 RECORDER=FX" + "\n"; 
macro +=  "TAB T=1" + "\n"; 
macro +=  "SET !ERRORIGNORE YES" + "\n"; 
macro +=  "URL GOTO=http://addmefast.com/free_points/twitter.html" + "\n"; 
macro +=  "URL GOTO=addmefast.com/free_points/twitter.html" + "\n"; 
macro +=  "WAIT SECONDS=5" + "\n"; 
macro +=  "TAG POS=1 TYPE=A ATTR=TXT:Follow" + "\n"; 
macro +=  "TAG POS=1 TYPE=A ATTR=TXT:Follow" + "\n"; 
macro +=  "TAG POS=1 TYPE=A ATTR=TXT:Follow" + "\n"; 
macro +=  "TAG POS=1 TYPE=A ATTR=TXT:Follow" + "\n"; 
macro +=  "TAG POS=1 TYPE=A ATTR=TXT:Follow" + "\n"; 
macro +=  "TAG POS=1 TYPE=A ATTR=TXT:Follow" + "\n"; 
macro +=  "TAG POS=1 TYPE=A ATTR=TXT:Follow" + "\n"; 
macro +=  "TAG POS=1 TYPE=A ATTR=TXT:Follow" + "\n"; 
macro +=  "TAG POS=1 TYPE=A ATTR=TXT:Follow" + "\n"; 
macro +=  "TAG POS=1 TYPE=A ATTR=TXT:Follow" + "\n"; 
macro +=  "TAG POS=1 TYPE=A ATTR=TXT:Follow" + "\n"; 
macro +=  "TAG POS=1 TYPE=A ATTR=TXT:Follow" + "\n"; 
macro +=  "WAIT SECONDS=30" + "\n"; 
macro +=  "URL GOTO=http://addmefast.com/free_points/twitter_tweets.html" + "\n"; 
macro +=  "URL GOTO=addmefast.com/free_points/twitter_tweets.html" + "\n"; 
macro +=  "WAIT SECONDS=5" + "\n"; 
macro +=  "TAG POS=1 TYPE=A ATTR=TXT:Tweet" + "\n"; 
macro +=  "TAG POS=1 TYPE=A ATTR=TXT:Tweet" + "\n"; 
macro +=  "TAG POS=1 TYPE=A ATTR=TXT:Tweet" + "\n"; 
macro +=  "TAG POS=1 TYPE=A ATTR=TXT:Tweet" + "\n"; 
macro +=  "TAG POS=1 TYPE=A ATTR=TXT:Tweet" + "\n"; 
macro +=  "TAG POS=1 TYPE=A ATTR=TXT:Tweet" + "\n"; 
macro +=  "TAG POS=1 TYPE=A ATTR=TXT:Tweet" + "\n"; 
macro +=  "TAG POS=1 TYPE=A ATTR=TXT:Tweet" + "\n"; 
macro +=  "TAG POS=1 TYPE=A ATTR=TXT:Tweet" + "\n"; 
macro +=  "WAIT SECONDS=30" + "\n"; 
macro +=  "URL GOTO=http://addmefast.com/free_points/twitter_retweets.html" + "\n"; 
macro +=  "URL GOTO=addmefast.com/free_points/twitter_retweets.html" + "\n"; 
macro +=  "WAIT SECONDS=5" + "\n"; 
macro +=  "TAG POS=1 TYPE=A ATTR=TXT:Retweet" + "\n"; 
macro +=  "TAG POS=1 TYPE=A ATTR=TXT:Retweet" + "\n"; 
macro +=  "TAG POS=1 TYPE=A ATTR=TXT:Retweet" + "\n"; 
macro +=  "TAG POS=1 TYPE=A ATTR=TXT:Retweet" + "\n"; 
macro +=  "TAG POS=1 TYPE=A ATTR=TXT:Retweet" + "\n"; 
macro +=  "TAG POS=1 TYPE=A ATTR=TXT:Retweet" + "\n"; 
macro +=  "TAG POS=1 TYPE=A ATTR=TXT:Retweet" + "\n"; 
macro +=  "TAG POS=1 TYPE=A ATTR=TXT:Retweet" + "\n"; 
macro +=  "WAIT SECONDS=30" + "\n"; 
iimPlay(macro);