Sign in to follow this  
Followers 0
Guest Waldfee

Checking For Error Boxes ?

2 posts in this topic


I'm totally new to AutoIT but i already love it.

Only problem I have now is:

I don't know how to check if a message box popped up.

e.g. i run my autoit script in the background...and when an error box pops up from another application (i know the errors name), it should just send the Return key.

I tried it with

WinWait("Error 034")


and winwaitactive...but none of them seems to work for normal standard message boxes ?!

Checking for a window named error 034 works perfect....but not for a message box:(

thx in advance for helping me


Share this post

Link to post
Share on other sites

Is that msgbox named "Error 034" when viewed by AutoIt Window Spy?

Some msgboxes and popups have a blank name, and the text is the part you see with "Error 034", so you would use WinWait("","Error 034")

If you can see it in AutoIt Window Spy then autoit should see it pretty much the same way.

AutoIt3, the MACGYVER Pocket Knife for computers.

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