Jump to content
Sign in to follow this  
nowayhome2

Help with StringInStr

Recommended Posts

nowayhome2

why is this not working i want it to constantly check if that word is found and if it is goto its there if not goto its not there and i want it to check constantly not just once and if found once start the search over so if i goto another page it changes to not there and then when i go back to that page and finds it i want it to goto its there

Edited by nowayhome2

Share this post


Link to post
Share on other sites
enaiman

If StringInStr("$body", "Advanced Search", 2)

... does it ring any bells?

$body = variable

"$body" = text string


SNMP_UDF ... for SNMPv1 and v2c so far, GetBulk and a new example script

wannabe "Unbeatable" Tic-Tac-Toe

Paper-Scissor-Rock ... try to beat it anyway :)

Share this post


Link to post
Share on other sites
nowayhome2

... does it ring any bells?

$body = variable

"$body" = text string

lol what a stupid mistake thanks,

now i need help to figure out the rest of my question

it only checks once so if it finds it once and then i goto a different website it says its found even if its not there? and when i go back to the webpage and if its not that it stills says its there until i restart the program , which i dont want to have to do

Share this post


Link to post
Share on other sites
BrettF
nowayhome2

Can you not use the _IE UDF?

i need alittle help , im new to automating IE

i use IE.au3

if thats what you mean. i would just like the answer or point me to the functions that will help me so i can read up on them

Share this post


Link to post
Share on other sites
BrettF

You want to check for the occurrence of advanced search link? Well the function name is very self explanatory if you actually looked at the help file...

_IELinkGetCollection

Cheers

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×