zasxes Posted March 12, 2004 Share Posted March 12, 2004 (edited) Opt("WinTitleMatchMode",4) Run ('explorer.exe ' & "http://www.google.com") WinWaitActive("classname=Internet Explorer_Server2") MsgBox(0, "Good", "Got Here.") exit Edited March 12, 2004 by zasxes Link to comment Share on other sites More sharing options...
CyberSlug Posted March 12, 2004 Share Posted March 12, 2004 (edited) I believe the class for the window is IEFrame. The Internet Explorer_Server is for just the part where webpages display.Edit: IEFrame Edited March 12, 2004 by CyberSlug 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 More sharing options...
zasxes Posted March 12, 2004 Author Share Posted March 12, 2004 Thats the Idea, I want to know that the page loaded based on its class. Some pages I go to have different classes Link to comment Share on other sites More sharing options...
scriptkitty Posted March 12, 2004 Share Posted March 12, 2004 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 Wendit has lots of other nice features, like no popups, tab browsing, control of java apps, and best of all FREE. AutoIt3, the MACGYVER Pocket Knife for computers. Link to comment Share on other sites More sharing options...
CyberSlug Posted March 12, 2004 Share Posted March 12, 2004 Thats the Idea, I want to know that the page loaded based on its class. Some pages I go to have different classesI *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 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 More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now