1.0 Command Quick Reference

Table 1-1 Command Quick Reference Table

Command

See

“#”

Use the hash symbol to define a line of text as a comment field. Comment fields are used to leave notes. For more information, see Section 3.4, Application Definition Elements.

“ ”

Use Quotation marks to group together text or variables that contain spaces. Quotation marks are used with commands such as Type, MessageBox, and If -Text. For more information, seeSection 3.4, Application Definition Elements.

“$”

Use the dollar sign to define the use of a SecureLogin variable stored in the directory for later use by that user. For more information, see Section 3.4, Application Definition Elements.

“?”

Use the question mark to define the use of a runtime variable. The values of these variables are not stored in the directory. They are reset each time SecureLogin is started. For more information, see Section 3.4, Application Definition Elements.

“%”

Use the percentage sign to define the use of a directory attribute. The attributes that are available vary depending on the directory in use, and the setup of the directory. For more information, see Section 3.4, Application Definition Elements.

“!”

Use the exclamation mark to define the use of a passticket. A passticket is a one-time password (OTP) that is generated using a combination of an encryption key, encryption offset, and the current time. For more information, see Section 3.4, Application Definition Elements.

“\”

Use the backslash with the Type and Send Key commands to specify the use of a special function. For more information, see Section 3.4, Application Definition Elements.

“@”

Use this symbol in a similar function to the backslash symbol, except its use is limited to HLLAPI enabled emulators. For more information, see Section 3.4, Application Definition Elements.

“-”

Use the hyphen as a switch within several commands, such as If and Type. For more information, see Section 3.4, Application Definition Elements.

“AAVerify”

Use AAVerify with SecureLogin Advanced Authentication or Novell NMAS to verify the user. It is typically used before the application Username and Password are retrieved and entered into the logon box.For more information, see Section 5.2.2, AAVerify.

“ADD”

Adds one number to another. The numbers can be hard coded into the Application Definition, or they can be variables. The result can be the ouput of another variable, or one of the original numbers. For more information, see Section 5.2.3, ADD.

“Attribute”

Use the Attribute specifier in conjunction with the Tag/EndTag command to specify which HTML attributes and attribute values must exist for that particular HTML tag. For more information, see Section 5.2.4, Attribute.

“AuditEvent”

Use the AuditEvent to audit the following events from an application definition:

  • SecureLogin client started
  • SecureLogin client exited
  • SecureLogin client activated by user
  • SecureLogin client deactivated by user
  • Password provided to an application by a script
  • Password changed by the user in response to a changepassword command
  • Password changed automatically in response to a changepassword command

For more information, see Section 5.2.5, AuditEvent

“BeginSplashScreen/EndSplashScreen”

Use to display a Novell splash screen across the whole Terminal Emulator window. This is used to mask any flashing produced by SecureLogin scraping the screen for text. A Delay command at the start of the Application Definition ensures that the emulator window is in place before the splash screen is displayed. For more information, see Section 5.2.6, BeginSplashScreen/EndSplashScreen.

“BooleanInput”

Use BooleanInput within a Site block to set the state of a Boolean field (either a checkbox or radio button). For more information see, Section 5.2.8, BooleanInput

“Break”

Use Break within the Repeat/EndRepeat commands to break out of a repeat loop. For more information, see Section 5.2.7, Break.

“Call”

Use the Call command to call and run a subroutine. When a subroutine is called, the Application Definition begins executing from the first line of the subroutine. For more information, see Section 5.2.9, Call.

“ChangePassword”

Use the ChangePassword command to change a single variable and is used in scenarios where password expiry is an issue. Set the <Variable> to the new password. For more information, see Section 5.2.10, ChangePassword.

“Class”

When a window is created, it is based on a template known as a window class. The Class command checks to see if the class of the newly created window matches its <Window-Class> argument. For more information, see Section 5.2.11, Class.

“ClearPlat”

Use to reset the last chosen platform, causing subsequent calls to ReLoadPlat to do nothing. For more information, see Section 5.2.12, ClearPlat.

“ClearSite”

Use within a Site block to clear the ‘matched’ status for a given site. For more information, see Section 5.2.13, ClearSite

“Click”

When used with windows applications, the Click command sends a click instruction to the specified <#Ctrl-ID>. For more information, see Section 5.2.14, Click.

“ConvertTime”

Use to convert a numeric time value, for example, ?CurrTime(system), into a legible format and stores it in <String Time>. For more information, see Section 5.2.15, ConvertTime.

“Ctrl”

Use the Ctrl command to determine if a window contains the control expressed in the <#Ctrl-ID> argument. The control ID number is a constant that is established at the time a program is compiled.For more information, see Section 5.2.16, Ctrl.

“Delay”

Use the Delay command to delay the execution of the Application Definition for the time specified in the <Time Period> argument. For more information, see Section 5.2.19, Delay.

“Dialog/EndDialog”

Use the Dialog/EndDialog command to identify the beginning and end of a dialog specification block respectively. You can use these commands to construct a dialog specification block, which consists of a series of dialog specification statements (for example Ctrl, Title, and so on). For more information, see Section 5.2.20, Dialog/EndDialog.

“DisplayVariables”

Use the DisplayVariables command to display a dialog box that lists the user's stored variables (for example, $Username and $Password) for the current application. For more information, see Section 5.2.21, DisplayVariables.

“Divide”

Use to divide one number by another. The numbers can be hard coded into the Application Definition, or they can be variables. The result can be outputted to another variable, or to one of the original numbers. For more information, see Section 5.2.22, Divide.

“DumpPage”

Use the DumpPage command to provide information about the current Web page. Use for debugging Web page Application Definitions. For more information, see Section 5.2.23, DumpPage.

“EndScript”

Use the EndScript command to immediately terminate execution of the Application Definition. For more information, see Section 5.2.24, EndScript.

“Event”

Application Definitions generally execute at the point when an application window is created. This corresponds to the WM_CREATE message that is received from an application window at start up. By adding the Event specifier to a dialog block, you can override this behavior, such that an Application Definition only executes when (and only when) the specified message is generated. If no Event specifier is given, it is equivalent to Event WM_CREATE. For more information, see Section 5.2.25, Event.

“FocusInput”

Use within a Site Block to focus on an input field based on the Boolean value of “focus”. For more information see, Section 5.2.27, FocusInput.

“GenerateOTP”

Used to generate a one time password (OTP) is an authentication method in lieu of a traditional fixed and static password.

The OTP is a hard token generated by the Vasco Digipass, RSA SecureID or ActivIdentity* Token and Mini Token products or may be produced bya soft token generator funtionality embedded in SecureLogin. For more information, see Section 5.2.28, GenerateOTP.

“GetCheckBoxState”

Use the GetCheckBoxState command to return the current state of the specified checkbooks. For more information, see Section 5.2.29, GetCheckBoxState.

“GetCommandLine”

Use the GetCommandLine command to capture the full command line of the program that is loaded, and save it to the specified variable. For more information, see Section 5.2.30, GetCommandLine.

“GetEnv”

Use the GetEnv command to read the value of an environment variable and saves it in the specified <variable>. For more information, see Section 5.2.31, GetEnv.

“GetIni”

Use the GetIni command to read data from INI file. For more information, see Section 5.2.32, GetIni.

“GetMD5”

Use the GetMD5 command to generate an MD5 hash value of the current process the script is running for. GetMD5 works only with the Win32 scripts. For more information, see Section 5.2.33, GetMD5

“GetReg”

Use the GetReg command to read data from the registry and save it in the specified <variable>. For more information, see Section 5.2.34, GetReg.

“GetSessionName”

Use the GetSessionName to find the current HLLAPI session name that is used to connect and returns it to the specified variable. For more information, see Section 5.2.35, GetSessionName.

“GetText”

Use the GetText command to get all of the text from the screen and save it to the specified variable. It is used in a large Web Application Definition that might contain several If -Text statements. For more information, see Section 5.2.36, GetText.

“GetURL”

Use the GetURL command to capture the URL of the site that is loaded and save it to the specified variable. For more information, see Section 5.2.37, GetURL.

“GoToURL”

Use the GoToURL command to make the browser navigate to the specified <URL>. By default the command opens the new Web page in the main window, rather than the frame that started the Application Definition. For more information, see Section 5.2.38, GoToURL.

“If/Else/EndIf”

Use the If command to establish a block to execute if the expression supplied is true. The Else command works inside an If block. The Else command is executed if the operator in the If block is false. Use the EndIf command to terminate the If block. For more information, see Section 5.2.39, If/Else/Endif.

“Include”

Use the Include command to share commonly-used Application Definition commands by multiple applications. The Application Definition identified by <Platform-Name> is included at execution time into the calling Application Definition. The Application Definition included with the Include command must comprise commands supported by the calling application. For more information, see Section 5.2.40, Include.

“Increment/Decrement”

Use the Increment/Decrement command to add or subtract from a specified variable. For example, you can use the increment and decrement to count the number of passes a particular Application Definition has made. For more information, see Section 5.2.41, Increment/Decrement.

KillApp

Use to terminate an application. For more information, see Section 5.2.42, KillApp.

“Local”

Use the Local command to declare that a runtime variable will only exist for the lifetime of the Application Definition. Local runtime variables are used in the same way as normal runtime variables and are still written as ?Variable. For more information, see Section 5.2.43, Local.

“MatchDomain”

Use MatchDomain inside a Site block to filter a Site based on its domain. If the domain does not match, the site block fails to match. For more information, see Section 5.2.44, MatchDomain.

“MatchField”

Use MatchField to filter a form based on the presence of a particular field. If the field fails to match and it is not specified as optional, then the parent form will fail to match. For more information, see Section 5.2.44, MatchDomain.

“MatchForm”

Use MatchForm to filter a site based on the presence of a particular field. If the field fails to match and it is not specified as optional, then the site will fail to match. For more information, see Section 5.2.45, MatchForm.

“MatchTitle”

Used inside a Site block, MatchTitle is used to filter a Site based on its title. If the site title does not match, the site block fails to match. For more information, see Section 5.2.48, MatchOption.

“MatchURL”

Use MatchURL inside a Site block to match or filter an HTML page within a site based on its URL. The URL can be a complex Web address or a secure Web site. For more information, see Section 5.2.50, MatchURL.

“MessageBox”

Use the MessageBox command to display a dialog box that contains the text specified in the <Data> variable. The Application Definition is suspended until the user reacts to this message. The MessageBox can take any number of text arguments, including variables, (for example MessageBox "The user " $Username " has just been logged onto the system"). For more information, see Section 5.2.51, MessageBox.

“Multiply”

Use to multiply one number by another. You can hard code the numbers into the Application Definition, or you can use variables. The results can be output to another variable, or to one of the original numbers. For more information, see Section 5.2.52, Multiply.

OnException/ClearException”

Use the OnException command to detect when certain conditions are met. Currently, this is when Cancel is pressed on either of two dialog boxes. When the condition is met, a subroutine is run. Use the ClearException command to reset the exceptions value. For more information, see Section 5.2.53, OnException/ClearException.

“Parent/EndParent”

Use the EndParent command to terminate a Parent block and set the subject of the Application Definition back to the original window. You can nest the Parent command, thereby allowing the Parent block to act on the parent of the parent. For more information, see Section 5.2.54, Parent/EndParent.

“PickListAdd”

Use the PickList command to allow users with multiple accounts for a particular system to choose the account to which they will log on. For more information, see Section 5.2.55, PickListAdd.

“PickListDisplay”

Use the PickListDisplay command to display the pick list entries built by previous calls to PickListAdd. The PickListDisplay command returns the result in a <?Variable> sent to the command. For more information, see Section 5.2.56, PickListDisplay.

“PositionCharacter”

Use this command in a password policy Application Definition to enforce that a certain character in the password is a numeral, uppercase, lowercase, or a punctuation character. For more information, see Section 5.2.57, PositionCharacter.

“PressInput”

Used within a Site block to simulate a keyboard enter event. For more information, see Section 5.2.58, PressInput.

“ReadText”

Use the ReadText command to run in both Windows and Terminal Launcher Application Definitions. While the usage and arguments for the use of ReadText with Windows and Terminal Launcher are different, the results of each command are the same. For more information, see Section 5.2.59, ReadText.

“RegSplit”

Use the RegSplit command to split a string using a regular expression. <Output-String1> and <Output-String2> contain the first, and second sub expressions, respectively. For more information, see Section 5.2.60, RegSplit.

“ReLoadPlat”

Use to set the current platform to the last one chosen by the Application Definition, or if a platform is not chosen, leaves the platform unset. For more information, see Section 5.2.61, ReLoadPlat.

“Repeat/EndRepeat”

Use the Repeat command to establish an Application Definition block similar to the If command. The repeat block is terminated by an EndRepeat command. Alternatively, you can use the Break or EndScript commands to break out of the loop. For more information, see Section 5.2.62, Repeat/EndRepeat.

“RestrictVariable”

Use the RestrictVariable command to monitor a <Variable> and enforce a specified <Password-Policy> on the <Variable>. Any variable specified must match the policy or it is not saved. For more information, see Section 5.2.63, RestrictVariable.

“Run”

Use the Run command to launch the program specified in <Command> with the specified optional [<Arg1> [<Arg2>] …] arguments. For more information, see Section 5.2.64, Run.

“SelectListBoxItem”

Use the SelectListBoxItem command to select entries from a list box. For more information, see Section 5.2.65, SelectListBoxItem.

“SendKey”

Use the SendKey command to work only with Generic and Advanced Generic emulators. You can use the SendKey command in the same manner as the Type command. Generally, the Type command is the preferred command to use. The Type command places the text into the clipboard, and then pastes it into the emulator screen. The SendKey command enters the text directly into the emulator screen. For more information, see Section 5.2.66, SendKey.

“Set”

Use the Set command to copy the value of <Data> into <Variable>. The <Data> can be any text, or another variable, whereas the <Variable> must be either a ?Variable or $Variable. For more information, see Section 5.2.67, Set.

“SetCheckBox”

Use the SetCheckBox command to select or clear a check box. For more information, see Section 5.2.68, SetCheckBox.

“SetCursor”

Use the SetCursor command to set the cursor to a specified <ScreenPosition> or <X Co-ordinate> <Y Co-ordinate>. For more information, see Section 5.2.69, SetCursor.

“SetFocus”

Use the SetFocus command to set the keyboard focus to a specified <#Ctrl-ID>.For more information, see Section 5.2.70, SetFocus.

“SetPlat”

By default, variables are stored directly against the platform or application on which you have SecureLogin enabled. For example, if you enable Groupwise.exe, the Groupwise credentials are stored against the Groupwise.exe platform.SetPlat sets the platform or application from which variables are read and saved if you have. For more information, see Section 5.2.71, SetPlat.

“SetPrompt”

Use the SetPrompt command to customize the text in the Enter SecureLogin Variables dialog boxes. These dialog boxes are used to prompt the user for new variables. You can also use the DisplayVariables command to customize the prompt text in the dialog box (for previously stored variables). For more information, see Section 5.2.72, SetPrompt.

“Site/Endsite”

Site/Endsite begins and ends an Application Definition, in place of Dialog/EndDialog.

Site/Endsite are Web commands added to allow for finer control of site matching. More detailed information within a loaded Web site can now be matched upon an used to execute blocks of scripting commands. For more information, see Section 5.2.73, Site/EndSite

“StrCat”

Use the StrCat command to append the second data string to the first data string. For example, StrCat ?Result "SecureRemote " "$Username". For more information, see Section 5.2.74, StrCat.

“StrLength”

Use the StrLength command to count the number of characters in a variable and output that value to the destination variable. For more information, see Section 5.2.75, StrLength.

“StrLower”

Use the StrLower command to modify a variable so that all the characters are lower case. For more information, see Section 5.2.76, StrLower.

“StrUpper”

Use the StrUpper command to modify a variable so that all the characters are upper case. For more information, see Section 5.2.77, StrUpper.

“Sub/EndSub”

Use the Sub/EndSub commands around a block of lines within an Application Definition to denote a subroutine. For more information, see Section 5.2.78, Sub/EndSub.

“Submit”

Use the Submit command only in Web Application Definitions, and only with Internet Explorer to allow for enhanced control of how and when a form is submitted. The Submit command performs a Submit on the form in which the first password field is found. The Submit command is ignored if used with Netscape. For more information, see Section 5.2.79, Submit.

“Subtract”

Use the Subtract command to subtract one value from another. This is useful if you are implementing periodic password change functionality for an application. You can use the subtract command (in conjunction with the Divide function and the Slina DLL) to determine the number of days that have elapsed since the last password change. Other numeric commands include the Add, Divide, and Multiply. For more information, see Section 5.2.80, Subtract.

“Tag/EndTag”

Use the Tag/EndTag commands to find HTML tags. For more information, see Section 5.2.81, Tag/EndTag.

“TextInput”

Use within a Site block to input text into a special field. For more information, see Section 5.2.82, TextInput

“Title”

Use the Title command to retrieve the title of a window and compare it against the string specified in the <Window-Title> argument. For this block of the Application Definition to run, the retrieved window title and the <Window-Title> argument must match the text supplied to the Title command in the dialog block. For more information, see Section 5.2.83, Title.

“Type”

Use the Type command to enter data, such as usernames and passwords into applications. There are reserved character sequences that are used to type special characters, for example TAB and ENTER. If it is not possible to determine Control IDs in a Windows application, and the Type command is not working, use the SendKey command instead.For more information, see Section 5.2.84, Type.

“WaitForFocus”

Use the WaitForFocus command to suspend the running of the Application Definition until the <#Ctrl-ID> has received keyboard focus, or the <Repeat-Loops> expire. The <Repeat-Loops> is an optional value that defines the number of loop cycles to run. The <Repeat-Loops> value defaults to 3000 loops if nothing is set. Once focus is received, the Application Definition continues. For more information, see Section 5.2.86, WaitForFocus.

“WaitForText”

Use the WaitForText command so the Terminal Launcher waits for the specified <text> to display before continuing. This command allows the user to wait for particular text to display before continuing. For example, waiting for a username field to display before attempting to type a username. For more information, see Section 5.2.87, WaitForText.