zasxes 0 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 Share this post Link to post Share on other sites
CyberSlug 6 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! Share this post Link to post Share on other sites
zasxes 0 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 Share this post Link to post Share on other sites
scriptkitty 1 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. Share this post Link to post Share on other sites
CyberSlug 6 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! Share this post Link to post Share on other sites