Scripting Basics

A script is essentially a list of instructions that SecureLogin follows to perform various tasks upon various windows. For example, for Windows applications (*.exe files) a script is written for each executable file that you want SecureLogin to act upon. In that script, you are able to assign different instructions to each screen that an executable file or application might produce. Therefore, you have the choice of acting upon only the login panel, selected windows, or every window (for example, account locked, invalid username, invalid password, expired password) that the executable file produces.

SecureLogin follows scripts from left to right, top to bottom. However, with the use of Flow Control commands (for example, If/Else/EndIf) you can skip, repeat or jump to certain parts of the script.

With the use of Dialog Specifier commands (for example, Call), you can skip, repeat, or jump to parts of the script.

With the use of Dialog Specifier commands, you can assign individual sections of a script to the different windows that an executable file might produce. Such assignments allow the login dialog box, for example, to be treated differently from the "wrong password" dialog box.

The scripting language can read from and write to variables. These variables enable SecureLogin to use corporate scripts while still keeping each individual user's secrets securely stored in the Directory. The scripting language can also read attributes (for example, the user's full name or phone number) from the username's attributes in the Directory. For more information on variables, see Understanding Script Variables.

SecureLogin is able to write information to the screen as well as read from it with the use of commands such as ReadText. You can use this functionality to extract usernames, domains in use, and error messages. You can then use Variable Manipulator commands to perform calculations, break apart information, and join the information back together.

The SecureLogin language has 52 different commands. Many of these, such as Repeat and Dialog, have one or two additional commands (for example, EndRepeat or EndDialog) that are used to close them. See SecureLogin Commands.

All these features come together to form an extremely powerful language that is able to accomplish almost any required login task.