Jump to content

Winwaitactive("classname=internet Explorer_server2


Recommended Posts

Personally I use Mozilla Firefox.

http://www.mozilla.org/products/firefox/

The nice part is that once the page is loaded, the stop loading the page button greys out. Thus you can use a simple pixel search to know when the page is loaded.

AutoItSetOption("PixelCoordMode", 0)
AutoItSetOption("TrayIconDebug", 1)
AutoItSetOption("WinTitleMatchMode", 2) 

While winexists("Mozilla Firefox")
    WinWaitActive("Mozilla Firefox")
    If PixelGetColor ( 118,68 ) =13817043 Then
  ToolTip ( "Page Loaded" ,0,0 )
    Else
  ToolTip("")
    EndIf
Wend

it has lots of other nice features, like no popups, tab browsing, control of java apps, and best of all FREE. :whistle:

AutoIt3, the MACGYVER Pocket Knife for computers.

Link to comment
Share on other sites

Thats the Idea, I want to know that the page loaded based on its class.  Some pages I go to have different classes

I *think* that WinWaitActive can only be used with the class of the entire window instead of part of the window.

There are some other posts about waiting for webpages to finish loading. But Mozilla/Firefox is better than IE :whistle:

Use Mozilla | Take a look at My Disorganized AutoIt stuff | Very very old: AutoBuilder 11 Jan 2005 prototype I need to update my sig!
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...