speedy5044
Banned - Inappropriate behavior
- Jul 29, 2008
- 944
- 1,673
Hi
im trying to make an imacros that can do this:
Get data from CSV file , go to my website (lets say http://www.google.com) and do a search with all the keywords in the CSV file (one by one).
So i was reading the imacros forum and i this is what come with :
But i keep getting this error:
im trying to make an imacros that can do this:
Get data from CSV file , go to my website (lets say http://www.google.com) and do a search with all the keywords in the CSV file (one by one).
So i was reading the imacros forum and i this is what come with :
Code:
VERSION BUILD=7210419 RECORDER=FX
TAB T=1
TAB CLOSEALLOTHERS
URL GOTO=http://www.google.com/
CMDLINE !DATASOURCE c:/singers.csv
'Number of columns in the CSV file. This must be accurate!
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}}
TAG POS=1 TYPE=INPUT:TEXT FORM=NAME:searchform ATTR=ID:txtSearch CONTENT={{!COL1}}
TAG POS=1 TYPE=INPUT:SUBMIT FORM=ID:frmSearch ATTR=ID:cmdSearch
TAG POS=1 TYPE=IMG ATTR=SRC:http://www.google.com/images/logo_small.gif
TAG POS=1 TYPE=INPUT:TEXT FORM=NAME:searchform ATTR=ID:txtSearch CONTENT=snoop
TAG POS=1 TYPE=INPUT:SUBMIT FORM=ID:frmSearch ATTR=ID:cmdSearch
TAG POS=1 TYPE=IMG ATTR=SRC:http://www.google.com/images/logo_small.gif
But i keep getting this error:
The files is CSV !!NS_ERROR_FILE_UNRECOGNIZED_PATH: Component returned failure code: 0x80520001 (NS_ERROR_FILE_UNRECOGNIZED_PATH) [nsILocalFile.append], line: 5 (Error code: -1001)