Please Help IF THEN ELSE Condition with old version

Support for iMacros. The iMacros software is the unique solution for automating every activity inside a web browser, for data extraction and web testing.
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
ococ214
Posts: 1
Joined: Mon Apr 15, 2019 7:59 am

Please Help IF THEN ELSE Condition with old version

Post by ococ214 » Mon Apr 15, 2019 8:08 am

Please Help me how to create script imm with IF THEN ELSE Condition

I use Imacros Browser v 10.0 VERSION BUILD=10022823
Windows 10
Not using firefox

So i want make condition like this..

IF (TAG POS=1 TYPE=A ATTR=TXT:*) = not found
THEN run next row/data

I have search but only find with firefox browser..
Thanks
chivracq
Posts: 8309
Joined: Sat Apr 13, 2013 1:07 pm
Location: Amsterdam (NL)

Re: Please Help IF THEN ELSE Condition with old version

Post by chivracq » Mon Apr 15, 2019 10:23 am

ococ214 wrote:
Mon Apr 15, 2019 8:08 am
Please Help me how to create script imm with IF THEN ELSE Condition

I use Imacros Browser v 10.0 VERSION BUILD=10022823
Windows 10
Not using firefox

So i want make condition like this..

Code: Select all

IF (TAG POS=1 TYPE=A ATTR=TXT:*) = not found
THEN run next row/data
I have search but only find with firefox browser..
Thanks
No need to open Duplicates, and this Thread will get moved to the 'General' Sub-Forum as it has nothing to do with the 'Scripting Interface'...

I don't know how you searched the Forum but if you search my Posts on "conditional" + whatever, I've already provided a Solution in pure '.iim' for all possible Conditional Situations...
Main Thread:
- Workarounds for Conditional Logic in Macro Code

Principle is using 'SEARCH' or 'EXTRACT' and then 'EVAL()' for your Conditional Logic.
And depending on the rest of your Script (not posted), simply using 'Relative Positioning' (+ '!ERRORIGNORE' and a short '!TIMEOUT_STEP') will probably already do "the Trick"... :idea:
- (F)CIM = (Full) Config Info Missing: iMacros + Browser + OS with all 3 Versions...
- I usually don't even read the Question if that (required) Info is not mentioned...
- Script & URL usually help a lot for a more "educated" Help...
Post Reply