need some help with iMacro

mmh86

Newbie
Joined
Mar 18, 2016
Messages
2
Reaction score
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!!
 
*this is solved*
 
Last edited:
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
 
Back
Top