scorp Posted January 20, 2006 Posted January 20, 2006 (edited) I have a script that comes up to a message box with a Yes or No question... If you don't answer the box it will just stay there forever.. Is there a way to open the message box and wait for a click otherwise exit the scipt after 5 minutes or so..? Thanks scorp Edited January 20, 2006 by scorp
MHz Posted January 20, 2006 Posted January 20, 2006 This should do as you ask. $result = MsgBox(4, '', 'Close in 5 minutes', 300) If $result = -1 Then Exit ElseIf $result = 6 Then ;yes Else ;no EndIf
scorp Posted January 20, 2006 Author Posted January 20, 2006 Thats EXACLTY what I was trying for.. Thanks for the snappy reply... scorp
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