Jump to content

How to wait untill a window has stopped loading


Recommended Posts

Hi,

This is for use with internet pages. How can I tell the script how to wait untill a window has completely loaded (other than setting a fixed sleep time) ?

Commands like WinWaitActive act as soon as the requested window title is up, yet the contents of th epage might still be downloading.

Thanks

Link to comment
Share on other sites

Lookup _IELoadWait in the help file. You may want to look at the other IE commands too.

Edit - Too slow again.

Edited by BigDod


Time you enjoyed wasting is not wasted time ......T.S. Elliot
Suspense is worse than disappointment................Robert Burns
God help the man who won't help himself, because no-one else will...........My Grandmother

Link to comment
Share on other sites

Hey thanks ! I didn't even know what the UDFs were ;)

Ok one more question:

Is a way to establish an IE reference for an existing window ?

eg. it's easy to say $oIE = _IECreate() ....

but I want to used _IELoadWait() with a window I opened by clicking on a link or whatever, not by generating a new window.

Link to comment
Share on other sites

Hey thanks ! I didn't even know what the UDFs were ;)

Ok one more question:

Is a way to establish an IE reference for an existing window ?

eg. it's easy to say $oIE = _IECreate() ....

but I want to used _IELoadWait() with a window I opened by clicking on a link or whatever, not by generating a new window.

I think it's _IEAttach

SciTE for AutoItDirections for Submitting Standard UDFs

 

Don't argue with an idiot; people watching may not be able to tell the difference.

 

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...