Jump to content

Recommended Posts

Posted

;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

Posted

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

Posted

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.

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
×
×
  • Create New...