i need help for script check text

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
zaidi.2010
Posts: 1
Joined: Tue Feb 21, 2017 3:58 am

i need help for script check text

Post by zaidi.2010 » Tue Feb 21, 2017 4:14 am

hey :)
i have chrome 56 64bit and firefox 51 32bit
i have small script and i want correct this script
this script for check sites if have text (Verification code sent to your mail) go to youtube.com/******* else repeat the script
but i have big problem with imacros i d'ont anderstand this language

Code: Select all

TAG POS=1 TYPE=FONT ATTR=COLOR:#FFFFFF EXTRACT=TXT 
SET !VAR1 EVAL("document.getElementById("reponse_div");")
SET !VAR1 {{!EXTRACT}}
SET !VAR2 Verification<SP>code<SP>sent<SP>to<SP>your<SP>mail.
WAIT SECONDS=1
SET !VAR3 EVAL("var d=\"{{!VAR1}}\"; var s=\"{{!VAR2}}\" ; if (d==s){var x = \"file:///C:/1.mp3\";} else {var x=\"www.youtube.com\";} x;") 

URL GOTO={{!VAR3}}

please i need i help
i want this script if this site have text (Verification code sent to your mail) go to youtubecom/****
but if this site d'ont have text (Verification code sent to your mail) repeat script
d'ont stop if text (Verification code sent to your mail) not found
iimfun
Posts: 239
Joined: Tue Jul 19, 2016 1:06 pm

Re: i need help for script check text

Post by iimfun » Thu Mar 02, 2017 7:43 am

zaidi.2010 wrote:i d'ont anderstand this language
Nobody could answer you so far. Hope this still helps.
Post Reply