Two possibilities in one macro

Discussions and Tech Support related to the iMacros Firefox Add-on, including the built-in Javascript scripting interface for playing .js files.
Forum rules
Before asking a question or reporting an issue:
1. Please review the list of FAQ's.
2. Use the search box (at the top of each forum page) to see if a similar problem or question has already been addressed.
3. Try searching the iMacros Wiki - it contains the complete iMacros reference as well as plenty of samples and tutorials.
4. We can respond much faster to your posts if you include the following information:CLICK HERE FOR IMPORTANT INFORMATION TO INCLUDE IN YOUR POST
Post Reply
CaptainL
Posts: 1
Joined: Sat Dec 24, 2016 3:25 pm

Two possibilities in one macro

Post by CaptainL » Sat Dec 24, 2016 3:40 pm

Hi, i'm not american or british so please don't be to hard with my grammar.


I'm actually working on a macro but i'm wondering how to do something.
To be short, i need the macro to click on something, but this thing can moove to another place from one time to the next.

It is two bloc like that : https://gyazo.com/7f62e7a3fce90c431ad57ea477a564a7

Mainly the things goes in the first one but 1/5 of the time it goes in the second one.
Is it possible to make a macro that goes for the first bloc, sees there is nothing in it so goes on second bloc ? Because at the moment, if there is nothing in the first bloc, he don't check the second one and make the macro stop...

Have a happy Xmas ;)
Post Reply