Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

What is the code to wait for certain window to be active 1

Status
Not open for further replies.

sean101

Technical User
Jun 21, 2001
6
US
Hi all,

Does anybody know what is the code to have a script wait for a certain window to be active before continuing the script? Is this even possible?

Thanks,

Sean
 
The only way I've found it to use AutoIt.dll. This has a ton of useful functions. The one you're looking for is

WinWaitActive <Window Title>,<Window Text> [,<Timeout>]

Stops script execution until the specified window to exists and is active.


You can get it at.
Best of all it's FREE.

dave
 
' Important: wait till MSIE is ready
Do While (object.Busy)
Loop


This is the easiest way I have found. I have onbly used it once but it worked liks a charm.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top