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. Positioning of the setprompt command is crucial. SetPrompt must be before the first usage of each variable to name that variable, and the final SetPrompt is applied to the text displayed at the top of the prompt screen). |
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 Class #32770 Title "Login" 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 Class #32770 Title "Login" 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" |