Add Action to AutoIt Message Box – Catching the Message Box Returned Value

Adding actions to messages boxes
Message Boxes, like most functions, return one of these values and their respective meanings
Button Pressed Return Values:
OK = $IDOK (1)
CANCEL  = $IDCANCEL (2)
ABORT = $IDABORT (3)
RETRY  = $IDRETRY (4)
IGNORE  = $IDIGNORE (5)
YES =  $IDYES (6)
NO =  $IDNO (7)
CONTINUE **  = $IDCONTINUE (11)
TRY AGAIN ** =  $IDTRYAGAIN (10)

Let’s create a message box and catch the return values and do something with it

 

 

adding-action-to-autoit-msgbox

 

Want more information like this?

Similar Posts

Leave a Reply

Your email address will not be published. Required fields are marked *