zasxes 0 Posted March 11, 2004 ;This is what I want to do $STUDY="http://www.google.com" Run ('explorer.exe '& $STUDY) ;do somthing here that will pause until the page has fully loaded $title1=WinGetTitle("","") ; rest of script Share this post Link to post Share on other sites
zasxes 0 Posted March 11, 2004 One problem I see. I know what title I expect if it works but if it fails the title is based on the error. How do I deal with not knowing the title Share this post Link to post Share on other sites
scriptkitty 1 Posted March 11, 2004 There are a few exceptions to this however. 1) if your mouse happens to be over a link.. 2) if the page has javascript that changes the titlebar. Just take these into consideration when designing, say like move your mouse to 0,0,0 as you load it. Also the stop loading button dehighlights once it is loaded, so you can use the pixelsearch color on that. It may be more reliable. AutoIt3, the MACGYVER Pocket Knife for computers. Share this post Link to post Share on other sites