Search and stop

Discussions and Tech Support related to website data extraction, screen scraping and data mining using iMacros.
Forum rules
iMacros EOL - Attention!

The renewal maintenance has officially ended for Progress iMacros effective November 20, 2023 and all versions of iMacros are now considered EOL (End-of-Life). The iMacros products will no longer be supported by Progress (aside from customer license issues), and these forums will also no longer be moderated from the Progress side.

Thank you again for your business and support.

Sincerely,
The Progress Team

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
lackstar18
Posts: 1
Joined: Wed Mar 22, 2023 7:00 pm

Search and stop

Post by lackstar18 » Wed Mar 22, 2023 9:58 pm

Hi i need help whit a line, currently im runing a basic macros but i
want that the macros stop when it founds a specific text. If the text is
not present in the page then just ignore and continue. But if he founds it
i want him to abort and make an alert.
Im currently using this one:

wait seconds =0.4
TAG POS=1 TYPE=SPAN ATTR=TXT:Acostar
wait seconds =0.4
TAG POS=1 TYPE=A ATTR=ID:boutonPanser
wait seconds =0.4
TAG POS=1 TYPE=A ATTR=ID:boutonNourrir
wait seconds =0.4

SEARCH SOURCE=TXT:"Cuidado:" IGNORE_CASE=YES

wait seconds =0.4
TAG POS=1 TYPE=SPAN ATTR=TXT:11
wait seconds =0.4
TAG POS=2 TYPE=SPAN ATTR=TXT:Dar<SP>de<SP>comer
wait seconds =0.4
TAG POS=1 TYPE=A ATTR=ID:nav-next
wait seconds =0.4


PD i try to use NO in the line IGNORE_CASE, but its dosent work. I mean the
macros wont stop iven if the text im searching is on it.
Thnks in advance
Post Reply