12-50
Creating A Script File
KSTR
Syntax: KSTR <string>
This command will treat the characters contained in the string or string variable as
macros to be performed. Refer to the Macros Settings dialog box description in the
Setup Menus chapter for the macro definition format.
More than one macro definition can be specified in the same string or variable. The
string example below will perform the function of the keys Alt + F4 pressed together
followed by the A key:
kstr "<ALT+F4><A>"
LAUNCH
Syntax: LAUNCH <application>
This command enables you launch an application, where
<application> is either the name of the application (and directory path if required)
enclosed by double quotes, or the name of a string variable
containing the application name.
You can cause the application to run in a minimized state when launched by
including the string "min" after <application>.
The following example will launch the application Excel so that it runs in a
minimized state:
launch "h:\excel\excel.exe" "min"
LEN
Syntax: LEN <length> <string>
This command will count the number of characters including spaces contained in a
string and store the result in a variable, where:
<length> is a predefined variable (see var) which will store the length of the
string.
<string> is the string of characters and spaces to be counted.
LET
Syntax: LET <expression>
This is an assignment statement which enables you to specify a value or change one
value to another. For example:
let X = Y