Jump to content

Exception handling


Recommended Posts

Hi Guys/Girls,

I know AutoIt has a function for this, but I can't find it:

How to handle a popup that can occur at a random point during a script (e.G. "New Hardware found")?

I remember some kind of function like WinWait, but with a user function attached to it. So that when the specific popup occurs, automatically the user function is called to handle it. This regardless of where in the main script AutoIt was and it will continue with the main script after the function has finished.

Do I remember this correctly? What function was this??

Thx!

Link to comment
Share on other sites

Try AdlibRegister to check for the popup window.

Programming today is a race between software engineers striving to
build bigger and better idiot-proof programs, and the Universe
trying to produce bigger and better idiots.
So far, the Universe is winning.

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...