Jump to content

Wait For Web Page To Load


Recommended Posts

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?

Link to comment
Share on other sites

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)

AutoIt3, the MACGYVER Pocket Knife for computers.

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...