This chapter describes the syntax rules for configuration file.
=) sign are optional and are ignored.( ).Tip: When there is an error, it is recorded in the log file (shell.log).
The following rules apply to the syntax of configuration file (shell.shl):
shell
{
// global variables
var
{
// variables content
variable-name = variable-value
...
}
default
{
// defaults content
default-name = default-value
default-name = [default-value, default-value, ...]
...
}
// static items
static
{
// static items content
item ( property-name = property-value ... )
...
}
// dynamic items
dynamic
{
// dynamic items content
item ( property-name = property-value ... )
separator [( property-name = property-value ... )]
menu ( property-name = property-value ... )
{
var // local variables
{
variable-name = variable-value
...
}
item ( property-name = property-value ... )
...
}
...
}
}
Breaking Long Lines
For best readability, users often like to avoid lines longer than 80 characters. single quotes also allow break up a line.
shell
{
dynamic
{
item(title='Command prompt'
cmd='cmd.exe')
}
}