I need help with IMACRO SCV scrip

emailbuyer4good

Regular Member
Joined
Aug 1, 2011
Messages
330
Reaction score
187
I am currently using this script that I made but it is giving me the error:

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

And line "4" is the Datasource, and I put in the entire path so I am not sure how it is not finding it.

Thanks for your help!
:)

Code:
VERSION BUILD=7401110 RECORDER=FX
TAB T=1
TAB CLOSEALLOTHERS  
CMDLINE !DATASOURCE SET !DATASOURCE C:\Users\Tristan Ziegler\Documents\iMacros\Datasources\LowesCoupons.csv
SET !DATASOURCE_COLUMNS 6
'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://www.lowes.com/cd_Coupon+Registration_253641591_   
TAG POS=1 TYPE=INPUT:TEXT ATTR=NAME:FNAME CONTENT={{!COL1}}
TAG POS=1 TYPE=INPUT:TEXT ATTR=NAME:LNAME CONTENT={{!COL2}}
TAG POS=1 TYPE=INPUT:TEXT ATTR=NAME:ADDRESS CONTENT={{!COL3}}
TAG POS=1 TYPE=INPUT:TEXT ATTR=NAME:CITY CONTENT={{!COL4}}
TAG POS=1 TYPE=INPUT:TEXT ATTR=NAME:STATE CONTENT={{!COL5}}
TAG POS=1 TYPE=INPUT:TEXT ATTR=NAME:ZIP CONTENT={{!COL6}}
 
I got sometimes the same error when I used imacros with a long path, Try to use a short path like: "C:\Datasources\LowesCoupons.csv"
 
Back
Top