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

need some help with iMacro

Discussion in 'General Scripting Chat' started by mmh86, Mar 18, 2016.

  1. mmh86

    mmh86 Newbie

    Joined:
    Mar 18, 2016
    Messages:
    2
    Likes Received:
    0
    Hi all,

    i'm complete new to the iMacro/scripting world, and have a little question!
    I'm trying to automate some steps on a website and built this litte macro, which i currently run in loop mode.
    But there are other sections on this site which i want to run through after there are no "Active" Mails in this first section.
    Currently, if the MAcro does not find any active Mail, it simple quits.

    I was thinking about something like this, but have no clue how to achive this...:

    Code:
    WHILE (TAG POS=1 TYPE=A ATTR=TXT:Active* == True) {
    "Macro for Mails"
     }
    "Enter next Section"
    WHILE (TAG POS=1 TYPE=A ATTR=HREF:URL/test.php* == True) {
    "Macro 2 for Mails"
     }
    
    
    Current Macro (recorded and adapted)

    Code:
    VERSION BUILD=8961227 RECORDER=FX
    TAB T=1
    URL GOTO=URL/members/mails.php
    TAG POS=1 TYPE=A ATTR=TXT:Active*
    TAG POS=1 TYPE=A ATTR=TXT:confirm
    TAB T=2
    TAG POS=1 TYPE=IMG ATTR=SRC:URL/confirm.jpg
    TAB T=3
    WAIT SECONDS=70
    TAB T=1
    TAB CLOSEALLOTHERS

    I'm thankful for every useful input!!
     
  2. mmh86

    mmh86 Newbie

    Joined:
    Mar 18, 2016
    Messages:
    2
    Likes Received:
    0
    *this is solved*
     
    Last edited: Mar 19, 2016
  3. noobdan

    noobdan Newbie

    Joined:
    Mar 22, 2016
    Messages:
    23
    Likes Received:
    0
    Glad to see this is solved, but if someone later comes here and wan't to know how to get this done, use a js macro and you can add all the if's and loops or anything javascript has in your macro