R
R
re0n2014-08-11 13:48:34
Macros
re0n, 2014-08-11 13:48:34

How to change POS in iMacros?

It happens that it gets stuck on POS1. the link does not suit him and this cycle continues, I would like him to switch to (if he has difficulty with POS1) POS2,3,4,5 ...
How can this be done?

VERSION BUILD=8820413 RECORDER=FX
SET !ERRORIGNORE YES
SET !ERRORCONTINUE YES    
TAB T=1
TAB CLOSEALLOTHERS
URL GOTO=*сайт скрыт*
TAG POS=1 TYPE=DIV ATTR=TXT:http://site.com/*
TAB T=2
TAG POS=1 TYPE=SPAN ATTR=TXT:текст<SP>текст

Thanks in advance

Answer the question

In order to leave comments, you need to log in

1 answer(s)
P
Phizio, 2014-11-26
@Phyzio

use js programming (i.e. create a "add-on above" above the macro - this is actually not at all as difficult as it seems) - you can simply use if else conditions, etc..
Or if you want to act within this code, then just stupidly sort through POS one after another, for example from 1 to 5 .. will not open the first one, go to the second one ..;) you can set SET TIMEOUT_TAG for 1 second so that you don’t search for a long time, then it will take a maximum of 5 seconds to sort through all from 1 to 5 .

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question