Quick Freelance Job

Find a consultant or advertise your services here
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
Post Reply
FataiShot
Posts: 3
Joined: Thu Jul 16, 2009 9:50 pm

Quick Freelance Job

Post by FataiShot » Fri Jul 17, 2009 11:57 pm

This isn't a job for pay, but a quick job for someone who doesn't have much experience with macro scripting..
Currently my macro has

Code: Select all

TAG POS=1 TYPE=INPUT:BUTTON ATTR=ID:LA_Submit1
ONDIALOG POS=1 BUTTON=OK
TAG POS=1 TYPE=INPUT:BUTTON ATTR=ID:LA_Submit2
ONDIALOG POS=1 BUTTON=OK
TAG POS=1 TYPE=INPUT:BUTTON ATTR=ID:LA_Submit3
ONDIALOG POS=1 BUTTON=OK
What I want added is conditionals or keyword recognition.
My first attempt into this was

Code: Select all

SET !TIMEOUT 1 
if TAG POS=1 TYPE=IMG ATTR=TXT:*error* CONTENT=EVENT: FAIL_IF_FOUND 
This didn't work out too well because even if the keyword wasn't found, I would still get an error. So I tried

Code: Select all

SET !ERRORIGNORE YES
The problem with this was that even if I got the specific keyword on the page, FAIL_IF_FOUND wouldn't do anything because errors are all ignored.

The website has certain words appearing once in a while after submitting the search button and I want to make a macro that stops when the word is found.
Post Reply