Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How To Search Multiple Words On Website
#1
Hi, I'd like to know if this is possible to search mutiple words on a website using one or few lines of script instead of searching word by word


Code:
Select All      Help
,Acc a.Find(win() "TEXT" "California" "" 0x1000);err wait 0.10;goto Kansas
,goto No
,;Kansas
,Acc a1.Find(win() "TEXT" "Kansas" "" 0x1000);err wait 0.10;goto Los Angeles
,goto No
,;Los Angeles
,Acc a2.Find(win() "TEXT" "Los Angeles" "" 0x1000);err wait 0.10;goto New York
,goto No
,;New York
,Acc a3.Find(win() "TEXT" "New York" "" 0x1000);err wait 0.10;goto Continue
,goto No
,;Continue

What I want to do is to make the script search through many words and if it find any of them through the whole list it would goto No, how to simplify this? thank you in advance.
#2
use regular expression in name
#3
thank you Smile


Forum Jump:


Users browsing this thread: 1 Guest(s)