Sign in to follow this  
Followers 0

Wait For Web Page To Load

2 posts in this topic

Posted

I'd like to write a script to automatically log on to a web site.

It needs to:

1) run Internet Explorer on the website

2) hide the window

3) wait for it to finish loading

4) send key strokes

5) unhide the window

I can do 1) and 4), but how do I do the rest?

Share this post


Link to post
Share on other sites



Posted

AutoItSetOption("WinDetectHiddenText", 1);1 = Detect hidden text

run('C:\Program Files\Internet Explorer\IEXPLORE.EXE http://hiddensoft.com','',@SW_HIDE)
sleep(100)
winwait("HiddenSoft","Done")
controlsend("HiddenSoft","","Internet Explorer_Server1","{pgdn 2}")
winsetstate("HiddenSoft","",@SW_RESTORE)

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  
Followers 0