Please help with 3 line EVAL script(noob ques)

Discussions and Tech Support specific to the iMacros Firefox add-on.
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
danny123
Posts: 1
Joined: Wed Aug 31, 2016 8:46 am

Please help with 3 line EVAL script(noob ques)

Post by danny123 » Wed Aug 31, 2016 9:27 am

VERSION BUILD=9030808 RECORDER=FX
FIREFOX 48.0.2
Windows 8.1
Demos working
Please help with this 3 line script

script does
1.click on handle->Website generate 3 random words
2.check if any of the words match "lucky"
3.Yes->stop macro,No->Loop(clck on handle again,continue till words found)
Note:Sorry,i dont have the exact URL

first 2 lines working fine butI cant figure the syntax of the last line(hence i wrote in pseudo code):

Code: Select all

TAG POS=1 TYPE=IMG ATTR=SRC:http://static.generator23.com/Turnhandle.gif
TAG POS=1 TYPE=P ATTR=TXT:Your words are<SP>*<SP>for now. EXTRACT=TXT
SET !VAR1 EVAL("var s=\"{{!EXTRACT}}\", if s includes "lucky" ,break macro;else LOOP")
Any help would be appreciated.
Post Reply