Office Accelerator® Support

Message Box

All messages display a system modal (always on top) message box with one or more buttons. This script halts until the user clicks on a button. Use the GOTO_ON_... commands to handle the responses.

MESSAGE_TITLE title

This sets the title for all message boxes. If not specified, then the value for the message box title is set to the script file name.

MESSAGE_ACTIVATELASTAPP var

If var=1 then when the message box closes, activate the last application that was active before the message box was closed. This is useful when your script prompts the user to do something like "Click on the first name field of the form and click 'OK'."

MESSAGE_OK message

Display with an 'OK' button.

MESSAGE_YESNO message

Display with 'Yes' and 'No' buttons.

MESSAGE_YESNOCANCEL message

Display with 'Yes', ‘No' and 'Cancel' buttons.

MESSAGE_OKCANCEL message

Display with 'OK' and 'Cancel' buttons.