1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

iMarcos Problem !

Discussion in 'Black Hat SEO Tools' started by Jobonnet, Sep 18, 2009.

  1. Jobonnet

    Jobonnet Newbie

    Joined:
    Aug 26, 2009
    Messages:
    2
    Likes Received:
    0
    Location:
    Thailand
    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.
     
  2. movieman32

    movieman32 Regular Member

    Joined:
    Aug 6, 2008
    Messages:
    371
    Likes Received:
    346
    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
     
  3. selfxemployed

    selfxemployed Registered Member

    Joined:
    Nov 21, 2008
    Messages:
    61
    Likes Received:
    6
    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.
     
  4. nambooooo

    nambooooo Regular Member

    Joined:
    May 21, 2009
    Messages:
    219
    Likes Received:
    71
    Location:
    GreenMTN
    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
     
  5. nirmar

    nirmar Regular Member

    Joined:
    Jul 23, 2009
    Messages:
    284
    Likes Received:
    108
    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.
     
  6. Jobonnet

    Jobonnet Newbie

    Joined:
    Aug 26, 2009
    Messages:
    2
    Likes Received:
    0
    Location:
    Thailand
    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.
     
  7. olm75

    olm75 Power Member

    Joined:
    Jan 14, 2009
    Messages:
    746
    Likes Received:
    82
    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...
     
    Last edited: Feb 21, 2010
  8. olm75

    olm75 Power Member

    Joined:
    Jan 14, 2009
    Messages:
    746
    Likes Received:
    82
    wow i figured it ot its the name - in the csv file i guess you cant use - in file names duh....:eek:
     
  9. olm75

    olm75 Power Member

    Joined:
    Jan 14, 2009
    Messages:
    746
    Likes Received:
    82
    y is this script having looping problems now...
     
  10. movieman32

    movieman32 Regular Member

    Joined:
    Aug 6, 2008
    Messages:
    371
    Likes Received:
    346
    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.