IMacro错误:SyntaxError:CMDLINE命令格式错误,行:5(错误代码:-910)

时间:2012-01-06 17:52:52

标签: imacros

TAB T=1     

TAB CLOSEALLOTHERS  

CMDLINE !DATASOURCE SET !DATASOURCE C:\users.csv

SET !DATASOURCE_COLUMNS 1

'Start at line 2 to skip the header in the file

SET !LOOP 2

'Increase the current position in the file with each loop 

SET !DATASOURCE_LINE {{!LOOP}}

' Fill web form   

URL GOTO=http://mginger.com/signup.html?inviteId=836485    

TAG POS=1 TYPE=INPUT:TEXT FORM=NAME:signupForm ATTR=NAME:firstNameField CONTENT={{!COL1}}

TAG POS=1 TYPE=INPUT:TEXT FORM=NAME:signupForm ATTR=NAME:lastNameField CONTENT={{!COL2}}

TAG POS=1 TYPE=INPUT:TEXT FORM=NAME:signupForm ATTR=NAME:emailField CONTENT={{!COL3}}

TAG POS=1 TYPE=INPUT:TEXT FORM=NAME:signupForm ATTR=NAME:mobileNumberField CONTENT={{!COL4}}

TAG POS=1 TYPE=INPUT:TEXT FORM=NAME:signupForm ATTR=NAME:usernameField CONTENT={{!COL5}}

TAG POS=1 TYPE=INPUT:TEXT FORM=NAME:signupForm ATTR=NAME:passwordField CONTENT={{!COL6}}

错误就是这个

IMacro Error : SyntaxError: wrong format of CMDLINE command, line: 5 (Error code: -910)

1 个答案:

答案 0 :(得分:1)

不在同一行使用 CMDLINE SET 。 看看你的第5行