Guest Waldfee Posted August 1, 2004 Share Posted August 1, 2004 Hi, 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") Send("{ENTER}") 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 Waldfee Link to comment Share on other sites More sharing options...
scriptkitty Posted August 2, 2004 Share Posted August 2, 2004 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. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now