Dialog - Get Information

Displays a dialog with a single line of text (a question) above an edit field where the user can type in some text (an answer). Any text that the user types in is then stored in a variable.

An optional browse button can be included next to the edit field if you want the user to browse for a file.

Action ID:
Action Category:
Action List Syntax:

136
Dialog
<<VARIABLE>> = Dialog.GetInformation

Settings

Dialog

Dialog title:

The text that will appear in the dialog's title bar.

The title bar text for the Get Information dialog.

Text above field:

The text that will appear above the edit field on the Get Information dialog.

Default text:

The default text that will appear in the edit field, when the dialog is initially displayed.

Browse type

The type of browse button that you want displayed next to the edit field on the dialog. Choose from:

None

-

No browse button. The button will not be displayed.

File

-

A file browse button. The user can browse for a file, and the path to that file will be entered into the edit field for them.

Folder

-

A folder browse button. The user can browse for a folder, and the path to that folder will be entered into the edit field for them.

Mask as password

Select this option if you want the text that the user types into the edit field to be masked by asterisks ("********").

When this option is enabled, any text the user types will be hidden from prying eyes. Note that this does not change the value that is stored in the variable; only the appearance of the text on the screen is affected.

Variable

Store text in variable:

The name of the variable that you want the user's response to be stored in. Any text the user enters will be stored in this variable when they press the OK button on the Get Information dialog. If the user presses the CANCEL button, the word "CANCEL" will be stored in the variable instead.

Error Codes

Value
(%LastErrorNum%)

Simple Message
(%LastErrorMsg%)

Verbose Message
(%LastErrorDetails%)

0 (OK)

 

 

Examples

Storing information in the Registry

Verifying a password (advanced)