Sign in to follow this  
Followers 0
cypher175

How To Close An IE Error Message Box..?

3 posts in this topic

If for some reason when using the _IE Functions of AutoIt IE produces an Error Message Box is there anyway To check to see if its there and then Close or click OK on the IE Error Message Box..??

Share this post


Link to post
Share on other sites



If for some reason when using the _IE Functions of AutoIt IE produces an Error Message Box is there anyway To check to see if its there and then Close or click OK on the IE Error Message Box..??

What kind of error message is it? If it's a regular pop up spawned by IE, you can handle with WinExists(), ControlClick(), etc.

If you have navigated or performed some _IE* function with $f_wait = 1, then you script may be blocked waiting for the page to complete (which won't happen until the pop up is handled). Then you have to code with $f_wait = 0 so your script can monitor activity while the page loads.

:D


Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law

Share this post


Link to post
Share on other sites

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
Sign in to follow this  
Followers 0