From ae7e941f7aa61b207f37c597076d2bc29e1e520c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Martin=20R=C3=BCegg?= The namespace of the application contains file paths, version and some details.
-
-app.directory (app.dir)
- Returns the path of Shell directory.
-
+
+ Returns the path of Shell directory. Syntaxapp.directory
+
+app.directory // usage in section context
+'@app.directory' // usage inside quoted-string literalsapp.cfg
- Returns the path of the configuration file "shell.shl".
-
+
Returns the path of the configuration file shell.nss (or shell.shl
+ in older installations).
Syntax
+app.cfg // usage in section context
+'@app.cfg' // usage inside quoted-string literals
+
+
++
Returns the path of shell.dll.
Syntax
+app.dll // usage in section context
+'@app.dll' // usage inside quoted-string literals
++
Returns the path of shell.exe.
Syntax
+app.exe // usage in section context
+'@app.exe' // usage inside quoted-string literals
+-
+
Returns application name.
+Syntax
+app.name // usage in section context
+'@app.name' // usage inside quoted-string literals
+Returns Shell version.
+Syntax
+app.version // usage in section context
+'@app.version' // usage inside quoted-string literals
++
Returns the architecture of the application.
+Syntax
+app.is64 // usage in section context
+'@app.is64' // usage inside quoted-string literals
++
Returns Shell information.
+Syntax
+app.about // usage in section context
+'@app.about' // usage inside quoted-string literals
++
Reload the configuration file.
+Syntax
+app.reload // usage in section context
+'@app.reload' // usage inside quoted-string literals
+Unload the configuration file.
+Syntax
+app.unload // usage in section context
+'@app.unload' // usage inside quoted-string literals
+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.
+Conditionally executes another statement.
@@ -9,72 +10,84 @@if(condition-expression, true-expression)if(condition-expression, true-expression, false-expression)
Returns a null value.
Syntax
null(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.
@@ -85,6 +98,7 @@ cmd.normal cmd.maximized cmd.minimizedSyntax
@@ -94,8 +108,8 @@ mode.multiple mode.multiunique mode.multisingle mode.multi -Syntax
diff --git a/docs/syntax/index.html b/docs/syntax/index.html index 4376404..1deb871 100644 --- a/docs/syntax/index.html +++ b/docs/syntax/index.html @@ -2,9 +2,10 @@This chapter describes the syntax rules for the configuration files.
The main configuration file shell.nss is located in the installation directory of Shell, depending on your installation method.
shell.nss (or shell.shl in older
+ installations) is located in the installation directory of
+ Shell, depending on your installation method.