zasxes Posted March 11, 2004 Share 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 Link to comment Share on other sites More sharing options...
zasxes Posted March 11, 2004 Author Share 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 Link to comment Share on other sites More sharing options...
scriptkitty Posted March 11, 2004 Share 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. 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