Jump to content
Sign in to follow this  
scoops

Complete Newb: Seemingly simple script

Recommended Posts

scoops

Hello! I'm very new to this. All I want to do is refresh a web page (I'm already logged in) every X seconds, and when a particular link appears on the page, I want to click it. I am using IE.

Can someone point me in the right direction?

Thanks!

Share this post


Link to post
Share on other sites
Andreik

Check in help file about _IELinkGetCollection(),_IELinkClickByText(),_IELinkClickByIndex(). With this you should click your link.


When the words fail... music speaks

Share this post


Link to post
Share on other sites
Rishav

for refresh, put in a while do loop. inside the loop puut a 5 sec sleep. then put an "if link exists then click link".

end loop.

Share this post


Link to post
Share on other sites
scoops

Thanks! I will check these out.

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  

×