Dtvscrotes Posted August 18, 2007 Posted August 18, 2007 (edited) I want my script to go in a different path if someone answers the msgbox in a different way. I want it that if the person answering my msgbox question says yes it will go one way if they say no it will go another way. Or if they say retry it will loot script or if they hit cancel it will end. Edited August 18, 2007 by Dtvscrotes
Tiger Posted August 18, 2007 Posted August 18, 2007 Return Value: OK = 1 CANCEL = 2 ABORT = 3 RETRY = 4 IGNORE = 5 YES = 6 NO = 7 TRY AGAIN = 10 CONTINUE = 11 My UDFs:- _RegEnumKey
James Posted August 18, 2007 Posted August 18, 2007 $msg = MsgBox(4, "Answer me", "Am I a message box?") If $msg = 6 Then MsgBox(0, "Correct!", "I am a message box!") Else $next = MsgBox(0, "Next Question", "Next question") Endif Blog - Seriously epic web hosting - Twitter - GitHub - Cachet HQ
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