Dialog - Message Box

Displays a custom text message in a standard Windows message box.

Action ID:
Action Category:
Action List Syntax:

5
Dialog
<<VARIABLE>>
= Dialog.MessageBox (<<TITLE>>, <<MESSAGE>>, <<DIALOGTYPE>>, <<ICON>>)

Settings

Title:

The title bar text for the message box.

Message:

The text that you want to display in the message box.

Dialog Type

The dialog type refers to which buttons will be available to the end user.  For example, selecting Yes|No|Cancel as the Dialog Type will create a dialog with three buttons: "Yes", "No", and "Cancel".

The available Dialog Types are:

Icon

The icon (if any) that you want to include on the message box. Choose from:

Default Button

This section allows you to choose which button, on the dialog, will be selected by default. The radio buttons refer to the buttons on the dialog from left to right.

For example, on a "Yes|No|Cancel" dialog, "Yes" is button One, "No" is button Two, and "Cancel" is button Three.

Variable

Store result in variable:

The variable that will store the result of the dialog. This will be the name of the button that the user selected in all capitals (e.g. Ok = OK).

 Return Values

Value
(%LastErrorNum%)

Simple Message
(%LastErrorMsg%)

Verbose Message
(%LastErrorDetails%)

0 (OK)

 

 

1

MSG_ERR_MESSAGE_BOX

MSG_ERR_MESSAGE_BOX
System Error

<<MESSAGE>>

Examples

Adding items to a list box (with data)

Expiring 30 days after building

Expiring 30 days after running the first time

Getting system information

Moving a window (advanced)

Parsing paths

Running a PowerPoint presentation (advanced)

Verifying a password

Verifying a password (advanced)