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

I macro programming tool

Discussion in 'Black Hat SEO Tools' started by air360, Nov 23, 2009.

  1. air360

    air360 Regular Member

    Joined:
    Apr 15, 2007
    Messages:
    428
    Likes Received:
    195
    Hopefully I can explain this well. I am trying to put together an imacro script but the url links are going to be different for each time ..I have a list of the differences but I cant figure out how to add them without doing it manually.

    For instance:

    Code:
    URL GOTO=websitehere.com/page=1
    TAG POS=1 TYPE=INPUT:TEXT FORM=NAME:vbform ATTR=NAME:title CONTENT=test
    TAG POS=1 TYPE=TEXTAREA FORM=NAME:vbform ATTR=ID:vB_Editor_001_textarea CONTENT=test<SP>for<SP>imacro.
    TAG POS=1 TYPE=INPUT:SUBMIT FORM=NAME:vbform ATTR=ID:vB_Editor_001_save
    WAIT SECONDS=10
    URL GOTO=websitehere.com/page=2
    TAG POS=1 TYPE=INPUT:TEXT FORM=NAME:vbform ATTR=NAME:title CONTENT=test
    TAG POS=1 TYPE=TEXTAREA FORM=NAME:vbform ATTR=ID:vB_Editor_001_textarea CONTENT=test<SP>for<SP>imacro.
    TAG POS=1 TYPE=INPUT:SUBMIT FORM=NAME:vbform ATTR=ID:vB_Editor_001_save
    WAIT SECONDS=10
    The part I need to change is where it says "page=1, page=2, etc" I have a big list of pages I want to add. Is there anyway I can do this without manually adding the url link to the script one by one?

    So..basically...I need to do a repetitive action on a bunch of different pages....am I setting up the script wrong all together? Maybe there is a way to do it so that it can just repeat but pull a url from another list each time? i dont know....
     
    Last edited: Nov 23, 2009
  2. air360

    air360 Regular Member

    Joined:
    Apr 15, 2007
    Messages:
    428
    Likes Received:
    195
    I just figured this out on my own :)

    For those who are interested here is the full code needed.

    Code:
    VERSION BUILD=6240709 RECORDER=FX
    TAB T=1
    CMDLINE !DATASOURCE url.csv
    'Number of colums in the CSV file:
    SET !DATASOURCE_COLUMNS 1
    'Increase the current position in the file
    SET !DATASOURCE_LINE {{!LOOP}}
    URL GOTO={{!COL1}}
    TAG POS=1 TYPE=INPUT:TEXT FORM=NAME:vbform ATTR=NAME:title CONTENT=test
    TAG POS=1 TYPE=TEXTAREA FORM=NAME:vbform ATTR=ID:vB_Editor_001_textarea CONTENT=test<SP>for<SP>imacro.
    TAG POS=1 TYPE=INPUT:SUBMIT FORM=NAME:vbform ATTR=ID:vB_Editor_001_save
    WAIT SECONDS=10
    Then in the imacros datasource file you need a csv file with all the urls you want it to go to listed in a column. And finally in the program you tell it to play a loop with the number of loops being the number of lines in your csv file.