iMarcos Problem !

Jobonnet

Newbie
Joined
Aug 26, 2009
Messages
2
Reaction score
0
Code:
SET !DATASOURCE C:\Bookmark\user.csv
SET !DATASOURCE_COLUMNS 2
SET !LOOP 2
SET !DATASOURCE_LINE {{!LOOP}}

URL GOTO=hxxp://www.xxx.com/login.php?return=/index.php
TAG POS=2 TYPE=INPUT:TEXT FORM=ACTION:hxxp://www.xxx.com/login ATTR=NAME:username CONTENT={{!COL1}}
SET !ENCRYPTION NO
TAG POS=2 TYPE=INPUT:PASSWORD FORM=ACTION:hxxp://www.xxx.com/login ATTR=NAME:password CONTENT={{!COL2}}
TAG POS=1 TYPE=INPUT:SUBMIT FORM=ID:thisform ATTR=VALUE:login
I can not make it to Loop. :(

Please help me.
 
Here is how all my looping macros start. I am not sure what is missing from yours that is keeping it from looping, but you can use this as a template. Make sure your column # in the macro matches the number of columns used in the csv.

VERSION BUILD=6210326 RECORDER=FX
SET !ERRORIGNORE YES
SET !ERRORCONTINUE YES
SET !DATASOURCE C:\macros\datasources\user.csv
SET !DATASOURCE_COLUMNS 2
'Start at line # BELOW to skip the header in the file
SET !LOOP 1
SET !DATASOURCE_LINE {{!LOOP}}
TAB T=1
URL GOTO=http://www.xxx.com
 
take out either SET !LOOP 2 or SET !DATASOURCE_LINE {{!LOOP}}

SET !DATASOURCE_LINE {{!LOOP}} automatically starts from 1
SET !LOOP 2 starts from whatever # you have there.
 
I know this is a stupid thought :D but I found out from my practice that the most errors are just stupid.
Do you use the play button, or the loop one at the bottom to run the macros?

P.S. Don't get offended if smth :D
 
CMDLINE !DATASOURCE C:\Bookmark\user.csv
SET !DATASOURCE_COLUMNS 2
URL GOTO=hxxp://www.xxx.com/login.php?return=/index.php
........


And now Play Loop.
 
Thank you for your answer.

Actually I was already doing from the beginning.

Open csv file, but I have no problem with Excel.

I just try to open with notepad to see the problem.

Thank you again for any other more answers.
 
ok i just updated the imacros for firefox, can some one tell me y this is not posting in the text box from my csv file...
VERSION BUILD=6240709 RECORDER=FX
SET !ERRORIGNORE YES
SET !ERRORCONTINUE YES
SET !DATASOURCE account-bot.csv
SET !DATASOURCE_COLUMNS 29
'Start at line # BELOW to skip the header in the file
SET !LOOP 3
SET !DATASOURCE_LINE {{!LOOP}}
TAB T=1

URL GOTO=http://www.friendster.com/
TAG POS=1 TYPE=INPUT:TEXT FORM=NAME:signup_form ATTR=ID:reg_email CONTENT={{!COL3}}
TAG POS=1 TYPE=B ATTR=ID:joinNowLbl
 
Last edited:
wow i figured it ot its the name - in the csv file i guess you cant use - in file names duh....:o
 
y is this script having looping problems now...
VERSION BUILD=6240709 RECORDER=FX
SET !ERRORIGNORE YES
SET !ERRORCONTINUE YES
SET !DATASOURCE account-bot.csv
SET !DATASOURCE_COLUMNS 29
'Start at line # BELOW to skip the header in the file
SET !LOOP 3
SET !DATASOURCE_LINE {{!LOOP}}
TAB T=1

URL GOTO=http://www.friendster.com/
TAG POS=1 TYPE=INPUT:TEXT FORM=NAME:signup_form ATTR=ID:reg_email CONTENT={{!COL3}}
TAG POS=1 TYPE=B ATTR=ID:joinNowLbl
 
1st make sure that your csv file is saved in CSV ms-dos format. I have had lots of looping problems caused when I didn't think to save the file in that exact format.
 
Back
Top