Dialog / EndDialog

Item Description

Use with:

Windows

SecureLogin version:

All

Type:

Dialog Specifier

Usage:

Dialog
EndDialog

Arguments:

None

Description:

Identifies the beginning and end of a dialog specifier block. Use these commands to construct a dialog specifier block, which consists of a series of dialog specifier statements (for example, Ctrl, Title).

When a dialog block is executed, each of the dialog specifier statements is executed in sequence. If any statement within the dialog block fails, the entire dialog block fails and execution proceeds to the next Dialog/EndDialog block, if any.

The part of the script that follows the EndDialog command is called the script body. Another dialog block, or the end of the script, terminates the script body.

Example:

Dialog  
 Title "Login"
 Ctrl #1
EndDialog
Type $Username #1
Type $Password #2
Click #1