Jump to content
Sign in to follow this  
Marcello

Exception handling

Recommended Posts

Marcello

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!

Share this post


Link to post
Share on other sites
funkey

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.

Share this post


Link to post
Share on other sites
Marcello

Thx, Yes this was the function I meant.

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  

×