ask about loop and text detection.

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 Google search box (at the top of each forum page) to see if a similar problem or question has already been addressed. This will search the entire contents of the forums as well as the iMacros Wiki.
3. We can respond much faster to your posts if you include the following information:

CLICK HERE FOR IMPORTANT INFORMATION TO INCLUDE IN YOUR POST

Answering your own posts (e.g. attempting to "bump" your topic) drops your topic from the list of unanswered threads, so it may actually receive less views.
Post Reply
celes
Posts: 1
Joined: Wed Jul 18, 2018 2:17 am

ask about loop and text detection.

Post by celes » Wed Jul 18, 2018 2:32 am

HI,

imacros for firefox 9.0.3
firefox 50.0.1

i'm new on iMacros
i need help about loop and detect text how should i do it? i try to make some of it... and it's always reach till the bottom of the script then starting again from the top.... i want to make it loop from beginning if it's can't find "specific text"

please help me if you can. sorry for bad english.

VERSION BUILD=9030808 RECORDER=FX
TAB T=1

SET !ERRORIGNORE YES
SET !TIMEOUT_PAGE 3
SET !TIMEOUT_TAG 1
URL GOTO=https://clickmehere.html
TAG POS=1 TYPE=SPAN ATTR=TXT:click<SP>here
TAG POS=1 TYPE=SPAN ATTR=TXT:find<SP>me

i want to make it like this:
1. if there's no text "click here" the script won't continue... just looping forever till it find text "click here"
2. click text "click here" as fast as i can when it's avaible
3. please correct my "script" if there's wrong or useless maybe.

Does imacros have if else condition?
Thx
Post Reply