docs/functions/index.html
The functions and variables have unique titles described by fully qualified names that indicate a logical hierarchy.
Shell has a number of functions and variables built into it that are always available. They are listed here in alphabetical order.
Find the position of a menu item.
Syntax
indexof(expression[, default position])
Conditionally executes another statement.
Syntax
if(condition-expression)
if(condition-expression, true-expression)
if(condition-expression, true-expression, false-expression)
Returns a null value.
Syntax
null(expression)
Returns length of string and array type
Syntax
length(expression)
Returns text with a double quotation mark.
Syntax
quote(expression)
Returns the value of the numeric parameter to a character.
Syntax
char(numeric-expression)
Returns the value of the passed variable
Syntax
var(expression)
Converting the value of the passed numeric expression to hexadecimal string.
Syntax
tohex(numeric-expression)
Returns true if the parameters passed are equal.
Syntax
equal(expression-1, expression-2)
Returns true if the parameters passed are not equal.
Syntax
not(expression-1, expression-2)
Returns true if the first parameter is greater than the second parameter.
Syntax
greater(expression-1, expression-2)
Returns true if the first parameter is less than the second parameter.
Syntax
less(expression-1, expression-2)
bitwise left shift.
Syntax
shl(shift-expression, additive-expression)
bitwise right shift.
Syntax
shr(shift-expression, additive-expression)
The flags that specify how an application is to be displayed when it is opened.
cmd.hidden
cmd.show
cmd.visible
cmd.normal
cmd.maximized
cmd.minimized
Syntax
mode.none
mode.single
mode.multiple
mode.multiunique
mode.multisingle
mode.multi
Syntax
type.desktop
type.directory(dir)
type.drive
type.dvd
type.file
type.fixed
type.namespace
type.remote
type.unknown
type.usb
type.vhd
null
bool
true
false
auto
none
default
app | color | image | io | key | msg | path | reg | sel | str | sys | user| input | ini | clipboard