SetPrompt

Item Description

Use with:

Startup scripts, Terminal Launcher, Web, Windows

SecureLogin Version:

All

Type:

Action

Usage:

SetPrompt Prompt-Text

Arguments:

Prompt-Text

The customized text prompt to be displayed in the Enter SecureLogin Variables dialog box.

Description:

Customizes the text in the Enter SecureLogin Variables dialog boxes that are used to prompt the user for new variables. For Variables that have been stored previously, you can also use the DisplayVariables command to customize the prompt text in the dialog box.

Example 1:
Windows Script
To replace the default text prompt in the Enter SecureLogin Variables dialog box, place the SetPrompt command at the bottom of the script

# Login Dialog Box 
Dialog
Title "Login"
Class #32770
EndDialog
Type $Username #1001 
Type $Password #1002
Click #1
SetPrompt "Enter your username and password for accessing the Human Resources system. In the future, SecureLogin will remember these credentials and automatically log you in. IT Helpdesk x4564"

Example 2:
Windows Script
To replace the text prompt next to any variable entry field in the Enter SecureLogin Variables box, place the SetPrompt command immediately before the variable in the script.

# Login Dialog Box 
Dialog
Title "Login"
Class #32770
EndDialog
SetPrompt "Enter Username==>" 
Type $Username #1001
SetPrompt "Enter Password==>" 
Type $Password #1002
Click #1
SetPrompt "Enter your username and password for accessing the Human Resources system. In the future, SecureLogin will remember these credentials and automatically log you in. IT Helpdesk x4564"