2.5 What is an Application Definition?

An Application Definition is essentially a list of instructions that SecureLogin follows in order to perform various tasks on various windows. For example, in the case of a Windows application (*.exe), an Application Definition is written for each executable file that you want SecureLogin to act upon. In that Application Definition you are able to assign different instructions to each dialog box or screen that executable file or application may produce. In this manner you have the choice of acting upon only the login panel, only selected windows, or every window that is produced by the executable file, such as account locked, invalid username, invalid password, backend database is down, password expiry, and so on.

SecureLogin follows Application Definition from left to right, top to bottom. However, with the use of flow control commands, such as Call, it is possible to skip, repeat or jump to certain parts of the Application Definition.

2.5.1 Using with Dialog Specifier Commands

It is possible to assign individual sections of an Application Definition to the different windows an executable file may produce, with the use of Dialog Specifier commands. This allows the login dialog box for example to be treated differently from the Error Message box and so on.

Many of the SecureLogin commands such as Repeat and Dialog, have one or two commands that are used to close them.

2.5.2 Capability to Read from and Write to Variables

Application Definition commands have the capability to read from and write to variables. These variables enable SecureLogin to use corporate Application Definitions, while each individual user's secrets are securely stored in the directory. It is also possible to read attributes, such as the user's full name and phone number from attributes in the directory.

SecureLogin is not only able to write information to the screen, but is also able to read from it with the use of commands such as ReadText. This can be used to extract usernames, domains in use, error messages and other useful information. Variable Manipulator commands can then be used to perform calculations, break apart information, and join it back again.

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

NOTE:When writing an Application Definition that requires a “-“ (dash) in the command syntax, make sure you use a short ASCII dash (en dash) and not an extended dash (em dash) as generated in Microsoft* Word.

In Microsoft Word, when you type a space and one or two hyphens between text, Microsoft Word automatically inserts an ASCII dash or en dash ( – ). If you type two hyphens and do not include a space before the hyphens, then an em dash ( — ) is created. This may have implications for definitions that are created in or have been copied and pasted from Microsoft Word documents.