Jump to content
Sign in to follow this  

Test MsgBox Selection

Recommended Posts

I am trying to test if Yes is clicked in a msg box then the program (script) will exit. If No then the msgbox closes(this is the default)

Case $msg[0] = $AFMenuExit And $msg[1] = $AFGUI
        MsgBox(36, "Would you like to quit?", "Select 'Yes' to quit, otherwise click 'No'")
        If $msg = 6 then 

I know the above doesn't work, but what do i need to change to make it work?

Any help would be greatly appreciated. =)

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  

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...