Jump to content

How To Close An IE Error Message Box..?


Recommended Posts

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
Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...