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

iMacros Help

Discussion in 'General Programming Chat' started by Italian Hawk, Dec 26, 2009.

  1. Italian Hawk

    Italian Hawk Power Member

    Joined:
    Apr 21, 2009
    Messages:
    589
    Likes Received:
    126
    I'm trying to make an iMacros for a PTC site and was hoping you'd be able to offer me some assistance with it. Currently, it looks like this.

    Code:
    VERSION BUILD=6251204 RECORDER=FX
    SET !ERRORIGNORE YES
    TAB T=1
    URL GoTo= ptc sites url
    TAG POS=1 TYPE=B ATTR=TXT:National<SP>Debt<SP>Relief<SP>Solutions
    TAB T=2
    TAB T=1
    WAIT SECONDS=30
    TAG POS=1 TYPE=B ATTR=TXT:Find<SP>Bachelors<SP>Degrees<SP>Online
    TAB T=3
    TAB T=1
    WAIT SECONDS=30
    TAG POS=1 TYPE=B ATTR=TXT:Affordable<SP>Health<SP>Care<SP>Quotes
    TAB T=4
    TAB T=1
    WAIT SECONDS=30
    TAG POS=1 TYPE=B ATTR=TXT:Cholesterol<SP>Management<SP>Online
    TAB T=5
    TAB T=1
    WAIT SECONDS=30
    TAG POS=1 TYPE=B ATTR=TXT:Fresh<SP>Flower<SP>Online<SP>Delivery
    TAB T=6
    TAB T=1
    WAIT SECONDS=30
    TAG POS=1 TYPE=B ATTR=TXT:Best<SP>Associates<SP>Degrees<SP>Online
    TAB T=7
    TAB T=1
    WAIT SECONDS=30
    TAG POS=1 TYPE=B ATTR=TXT:Pet<SP>Care<SP>Wizard
    TAB T=8
    TAB T=1
    WAIT SECONDS=30
    TAG POS=1 TYPE=B ATTR=TXT:My<SP>Music<SP>Place
    TAB T=9
    TAB T=1
    WAIT SECONDS=30
    TAG POS=1 TYPE=B ATTR=TXT:Debt<SP>Consolidations<SP>Now
    TAB T=10
    TAB T=1
    WAIT SECONDS=30
    
    It's working exactly how I'd like it to; however, I was curious if there was a way to do what I need to make it work day after day because offers aren't always ordered the same. There are usually 5 pages with 10 offers each. As an offer is completed, the offers all shift up so you never leave page 1 because once I'm credited for a click, an ad from page 2 shifts to page 1 and everything else bumps up a page.

    So basically, what I was hoping to do was something like:

    if link 1 attr txt:eek:ffer one, offer two, offer three ect ect or offer 4 it will be clicked, if the text there is not any of the ones I've added it will move on to link two. Basically, it will do this 10 times, once with each link on the page. If it got through all 10 links and the none of the text was found in the links it would simply stop and then I could go through and add the new offers. If it does find the text in like the 3rd link for example, I'd want it to check the 3rd link again.