diff --git a/docs/examples/copypath.cshtml b/docs/examples/copypath.cshtml deleted file mode 100644 index 2adc0b1..0000000 --- a/docs/examples/copypath.cshtml +++ /dev/null @@ -1,52 +0,0 @@ -@page -@{ -ViewData["title"] = "Copy Path - Examples"; - ViewData["page-support"] = "Examples \\ Copy Path"; -} -
Copy Path example
-
shell 
-{
-    dynamic
-    {
-        // type can set with '~taskbar' equals all file types except taskbar.
-        menu(type='file|dir|back|root|namespace' mode=multiple  title='copy to clipboard' image=#ff00ff)
-        {
-            // Appears only when multiple selections.
-            item(vis=@@(sel.count > 1) title='Copy path (@@sel.count) items selected'
-                    cmd=@@sys.copy(sel(false, "\n")))
-
-            item(mode=single title=@@sel.path 
-                    cmd=@@sys.copy(sel.path))
-
-            item(mode=single type='file|dir|back.dir'
-                    vis=@@sel.short.len!=sel.path.len title=@@sel.short
-                    cmd=@@sys.copy(sel.short))
-            separator
-            item(mode=single vis=@@(sel.parent.len>3) title=@@sel.parent 
-                    cmd=@@sys.copy(sel.parent))
-            separator
-            item(mode=single type='file|dir|back.dir' title=@@sel.file.name
-                    cmd=@@sys.copy(sel.file.name))
-                   
-            item(mode=single type='file' title=@@sel.file.title
-                    cmd=@@sys.copy(sel.file.title))
-
-            item(mode=single type='file' title=@@sel.file.ext
-                   cmd=@@sys.copy(sel.file.ext))
-        }
-    }
-}
- -
- - - - - - - - - - - -
\ No newline at end of file diff --git a/docs/examples/favorites.cshtml b/docs/examples/favorites.cshtml deleted file mode 100644 index 3734f6d..0000000 --- a/docs/examples/favorites.cshtml +++ /dev/null @@ -1,42 +0,0 @@ -@page -@{ -ViewData["title"] = "Favorites - Examples"; - ViewData["page-support"] = "Examples \\ Favorites"; -} -
Favorite applications and directories example
-
shell 
-{
-    dynamic
-    {
-        menu(type='desktop|taskbar' title='Favorites' image=#00ff00)
-        {
-            menu(title='Applications' image=#ff0000)
-            {
-                item(title='Command prompt' image cmd='cmd.exe')
-                item(title='PowerShell' image cmd='powershell.exe')
-                item(title='Registry editor' image cmd='regedit.exe')
-                separator
-                item(title='Paint' image cmd='mspaint.exe')
-                item(title='Notepad' image cmd='notepad.exe')
-            }
-            separator
-            menu(title='Directories' image=#0000ff)
-            {
-                item(title='Downloads' cmd=@@user.downloads)
-                item(title='Pictures' cmd=@@user.pictures)
-                item(title='Home' cmd=@@user.directory)
-                separator
-                item(title='Windows' cmd=@@sys.directory)
-                item(title='Program files' cmd=@@sys.prog)
-            }
-        }
-    }
-}
-
- - - - - - -
diff --git a/docs/examples/goto.cshtml b/docs/examples/goto.cshtml deleted file mode 100644 index d235c5c..0000000 --- a/docs/examples/goto.cshtml +++ /dev/null @@ -1,63 +0,0 @@ -@page -@{ -ViewData["title"] = "Goto - Examples"; - ViewData["page-support"] = "Examples \\ Goto"; -} -
Goto example
-
shell
-{
-    dynamic
-    {
-        menu(mode=multiple title='goto' separator=after image=0xed25)
-        {
-            item(title='Windows' image-inherit cmd=@@sys.dir)
-            item(title='System' image-inherit cmd=@@sys.bin)
-            item(title='Program Files' image-inherit cmd=@@sys.prog)
-            item(title='Program Files x86' image-inherit cmd=@@sys.prog32)
-            item(title='ProgramData' image-inherit cmd=@@sys.programdata)
-            item(title='Applications' image-inherit cmd='shell:appsfolder')
-            item(title='Users' image-inherit cmd=@@sys.users)
-            item(title='Control Panel' image=0xe115 cmd='shell:::{5399E694-6CE5-4D6C-8FCE-1D8870FDCBA0}')
-            item(title='Control Panel (All Tasks)' image=0xe115 cmd='shell:::{ED7BA470-8E54-465E-825C-99712043E01C}')
-            item(title='run' cmd='shell:::{2559a1f3-21d7-11d4-bdaf-00c04f60b9f0}')
-            separator
-            item(title='@@user.name@@@@@@sys.name' vis=disable)
-            item(title='Desktop' image-inherit cmd=@@user.desktop)
-            item(title='Downloads' image-inherit cmd=@@user.downloads)
-            item(title='Pictures' image-inherit cmd=@@user.pictures)
-            item(title='Documents' image-inherit cmd=@@user.documents)
-            item(title='Startmenu' image-inherit cmd=@@user.startmenu)
-            item(title='Profile' image-inherit cmd=@@user.dir)
-            item(title='AppData' image-inherit cmd=@@user.appdata)
-            item(title='Temp' image-inherit cmd=@@user.temp)
-            menu(title='settings' separator=before image=0xe115)
-            {
-                // https://docs.microsoft.com/en-us/windows/uwp/launch-resume/launch-settings-app
-                item(title='systeminfo' image=0xe946 cmd-line='/K systeminfo')
-                item(title='search' cmd='search-ms:' image=0xe721)
-                item(title='settings' image-inherit cmd='ms-settings:')
-                item(title='about' image=0xe946 cmd='ms-settings:about')
-                item(title='usb' image=0xe88e cmd='ms-settings:usb')
-                item(title='network-status' image=0xec27 cmd='ms-settings:network-status')
-                item(title='network-ethernet' image=0xe839 cmd='ms-settings:network-ethernet')
-                item(title='personalization-background' image=0xeb9f cmd='ms-settings:personalization-background')
-                item(title='personalization-colors' image=0xe790 cmd='ms-settings:colors')
-                item(title='lockscreen' image=0xee3f cmd='ms-settings:lockscreen')
-                item(title='personalization-start' image=0xeca5 cmd='ms-settings:personalization-start')
-                item(title='appsfeatures' image=0xe179 cmd='ms-settings:appsfeatures')
-                item(title='optionalfeatures' image=0xe179 cmd='ms-settings:optionalfeatures')
-                item(title='defaultapps' image=0xe17d cmd='ms-settings:defaultapps')
-                item(title='yourinfo' image=0xe136 cmd='ms-settings:yourinfo')
-                item(title='windowsupdate' image=0xe895 cmd='ms-settings:windowsupdate')
-                item(title='windowsdefender' image=0xe83d cmd='ms-settings:windowsdefender')
-                item(title='network connections' image-inherit cmd='shell:::{7007ACC7-3202-11D1-AAD2-00805FC1270E}')
-            }
-        }
-    }
-}
- -
- - - -
\ No newline at end of file diff --git a/docs/examples/index.cshtml b/docs/examples/index.cshtml deleted file mode 100644 index c55f4e9..0000000 --- a/docs/examples/index.cshtml +++ /dev/null @@ -1,9 +0,0 @@ -@page -@{ - ViewData["title"] = "Examples"; - ViewData["page-support"] = "Examples"; -} -

Examples


-

This page contains some examples of what Shell can do.

- - diff --git a/docs/examples/taskbar.cshtml b/docs/examples/taskbar.cshtml deleted file mode 100644 index dbfd3a1..0000000 --- a/docs/examples/taskbar.cshtml +++ /dev/null @@ -1,28 +0,0 @@ -@page -@{ -ViewData["title"] = "Taskbar - Examples"; - ViewData["page-support"] = "Examples \\ Taskbar"; -} - -
Taskbar example
-
shell 
-{
-     var
-    {
-        hello_world = 'Hello World!'
-    }
-
-    dynamic
-    {
-	  item(title=@@hello_world cmd=@@msgbox(@@hello_world))
-	  separator
-	  item(title='Command prompt' cmd='cmd.exe' args='/k echo @@hello_world')
-	  separator
-	  menu(title='Sub menu')
-	  {
-	      item(title='Open Paint' cmd='paint.exe' arg=@@sel.path)
-	      separator
-	      item(title='Open Notepad' cmd='notepad.exe' arg='"@@sel.path"')
-	  }
-    }
-}
\ No newline at end of file diff --git a/docs/expressions/color.cshtml b/docs/expressions/color.cshtml deleted file mode 100644 index f3cfffa..0000000 --- a/docs/expressions/color.cshtml +++ /dev/null @@ -1,10 +0,0 @@ -@page -@{ - ViewData["title"] = "Color literal - Expressions"; - ViewData["page-support"] = "Expressions \\ Color"; -} - -

Color literal

-
-
Hexadecimal Colors
-

interprets color constants as hexadecimal if they are preceded by # and hexadecimal color is specified with: #RRGGBB, where the RR (red), GG (green) and BB (blue) hexadecimal integers specify the components of the color. All values must be between 00 and FF.
For example, the #0000FF value is rendered as blue, because the blue component is set to its highest value (FF) and the others are set to 00.
There are 140 color names are predefined under the color scope.

\ No newline at end of file diff --git a/docs/expressions/comments.cshtml b/docs/expressions/comments.cshtml deleted file mode 100644 index 24b71ee..0000000 --- a/docs/expressions/comments.cshtml +++ /dev/null @@ -1,59 +0,0 @@ -@page -@{ -ViewData["title"] = "Comments - Expressions"; - ViewData["page-support"] = "Expressions \\ Comments"; -} -

Comments

-

Comments can be used to explain Shell code, and to make it more readable. It can also be used to prevent execution Shell code. Comments can be singled-lined or multi-lined.

-
-
Single-line Comments
-

- Single-line comments start with two forward slashes (//).
- Any text between // and the end of the line is ignored (will not be executed). -

-

This example uses a single-line comment before a line of code:

-
shell
-{
-    dynamic 
-    {
-        // This is a comment
-        item(title='Hello World!')
-        
-        //item(title='Hello World!')
-    }
-}
- -

This example uses a single-line comment at the end of a line of code:

-
shell
-{
-    dynamic 
-    {
-        item(title='Hello World!') // This is a comment
-    }
-}
-
-
-
-
Multi-line Comments
-

- Multi-line comments start with /* and ends with */.
- Any text between /* and */ will be ignored. -

-
shell
-{
-    dynamic
-    {
-        item(title='Hello,/* multiple-lines comment inside */ world')
-        
-        /*
-        item(title='test item 1')
-        item(title='test item 2')
-        */
-    }
-
-}
-

- Single or multi-line comments?
- It is up to you which you want to use. Normally, we use // for short comments, and /* */ for longer. -

-
\ No newline at end of file diff --git a/docs/expressions/identifier.cshtml b/docs/expressions/identifier.cshtml deleted file mode 100644 index 389882b..0000000 --- a/docs/expressions/identifier.cshtml +++ /dev/null @@ -1,10 +0,0 @@ -@page -@{ - ViewData["title"] = "Identifier - Expressions"; - ViewData["page-support"] = "Expressions \\ Identifier"; -} -

Identifier

-
-

The identifier have unique titles described by fully qualified names that indicate a logical hierarchy.
The identifier that has no parameters. Parentheses are added when necessary to separate:

-

There is a hierarchy of keywords in that some keywords are always followed by others.

-
sel.path
sel.path().ext
diff --git a/docs/expressions/index.cshtml b/docs/expressions/index.cshtml deleted file mode 100644 index afba1fb..0000000 --- a/docs/expressions/index.cshtml +++ /dev/null @@ -1,19 +0,0 @@ -@page -@{ -ViewData["title"] = "Expressions"; - ViewData["page-support"] = "Expressions"; -} -

Expressions

-
-

Shell provides a variety of statements and expressions. Most of these will be familiar to developers who have programmed in C, C++, C#.

-

Expressions gives you all the power of Shell, but is using a simplified syntax that's easier to learn if you're a beginner, and makes you more productive if you're an expert.

-

To use expressions, you write them by using proper syntax. Syntax is the set of rules by which the words and symbols in an expression are correctly combined. Initially, expressions in Shell are a little bit hard to read. But with a good understanding of expression syntax and a little practice, it becomes much easier.

- - -@*interprets string as expressions if they are preceded by @@*@ - diff --git a/docs/expressions/numeric.cshtml b/docs/expressions/numeric.cshtml deleted file mode 100644 index 050615c..0000000 --- a/docs/expressions/numeric.cshtml +++ /dev/null @@ -1,56 +0,0 @@ -@page -@{ -ViewData["title"] = "Numeric literal - Expressions"; - ViewData["page-support"] = "Expressions \\ Numeric literal"; -} -

Numeric literals

-
-

There are two types of numbers. Integer and floating point.

-
Integer literals
-

An integer is a numeric literal(associated with numbers) without any fractional or exponential part. There are two types of integer literals:

-
    -
  1. Decimal literal (base 10)
  2. -
  3. Hexadecimal literal (base 16)
  4. -
-

1. Decimal-literal(base 10):
A non-zero decimal digit followed by zero or more decimal digits(0, 1, 2, 3, 4, 5, 6, 7, 8, 9).

-For example:
Decimal: 0, -9, 22 etc
-

2. Hexadecimal-literal(base 16):
0x followed by one or more hexadecimal digits(0, 1, 2, 3, 4, 5, 6, 7, 8, 9, a, b, c, d, e, f).

-For example: -
Hexadecimal: 0x7f, 0x2a, 0x521 etc
-
Floating-point iterals
-@*

A floating-point literal is a numeric literal that has either a fractional form or an exponent form. For example:

*@ -

Floating-point literals specify values that must have a fractional part. These values contain decimal points (.)

-For example: -
-2.0
0.0000234
-@* -integer_literal - : decimal_integer_literal - | hexadecimal_integer_literal - - -decimal_integer_literal - : decimal_digit+ integer_type_suffix? - - -decimal_digit - : '0' | '1' | '2' | '3' | '4' | '5' | '6' | '7' | '8' | '9' - - -integer_type_suffix - : 'U' | 'u' | 'L' | 'l' | 'UL' | 'Ul' | 'uL' | 'ul' | 'LU' | 'Lu' | 'lU' | 'lu' - - -hexadecimal_integer_literal - : '0x' hex_digit+ integer_type_suffix? - | '0X' hex_digit+ integer_type_suffix? - - -hex_digit - : '0' | '1' | '2' | '3' | '4' | '5' | '6' | '7' | '8' | '9' - | 'A' | 'B' | 'C' | 'D' | 'E' | 'F' | 'a' | 'b' | 'c' | 'd' | 'e' | 'f' - *@ - -@*JavaScript Numbers are Always 64-bit Floating Point -Unlike many other programming languages, JavaScript does not define different types of numbers, like integers, short, long, floating-point etc. -JavaScript numbers are always stored as double precision floating point numbers, following the international IEEE 754 standard. -This format stores numbers in 64 bits, where the number (the fraction) is stored in bits 0 to 51, the exponent in bits 52 to 62, and the sign in bit 63:*@ diff --git a/docs/expressions/operators.cshtml b/docs/expressions/operators.cshtml deleted file mode 100644 index 5848b04..0000000 --- a/docs/expressions/operators.cshtml +++ /dev/null @@ -1,192 +0,0 @@ -@page -@{ - ViewData["title"] = "Operators - Expressions"; - ViewData["page-support"] = "Expressions \\ Operators"; -} -

Operators

-
-

An operator is a symbol that tells to perform specific mathematical or logical manipulations. Shell is rich in built-in operators and provide the following types of operators

-

This chapter will examine the arithmetic, relational, logical, bitwise, assignment and other operators one by one.

-
Arithmetic Operators
-

The five arithmetical operations supported

- - - - - - - - - - - - - - - - - - - - - - - - - - - -
OperatorDescription
+Addition
-Subtraction
*Multiplication
/Division
%Modulo
-
-
Relational and comparison operators
-

Two expressions can be compared using relational and equality operators. For example, to know if two values are equal or if one is greater than the other.

-

The result of such an operation is either true or false (i.e., a Boolean value).

-

The relational operators are:

- - - - - - - - - - - - - - - - - - - - - - - - -
operatordescription
==Equal to
!=Not equal to
<Less than
>Greater than
<=Less than or equal to
>=Greater than or equal to
-
-
Logical Operators (!, ||, &&)
-

The operator ! is operator for the Boolean operation NOT. It has only one operand, to its right, and inverts it, producing false if its operand is true, and true if its operand is false. Basically, it returns the opposite Boolean value of evaluating its operand. For example:

-

The logical operators && and || are used when evaluating two expressions to obtain a single relational result. The operator && corresponds to the Boolean logical operation AND, which yields true if both its operands are true, and false otherwise. The following panel shows the result of operator && evaluating the expression a && b:

- - - - - - - - - - - - - - - - - - - -
operatordescription
&&Called Logical AND operator. If both the operands are non-zero, then condition becomes true.
||Called Logical OR Operator. If any of the two operands is non-zero, then condition becomes true.
! - Called Logical NOT Operator. Use to reverses the logical state of its operand. If a condition is true, then Logical NOT operator will make false. -
!(5 == 5)   // evaluates to false because the expression at its right (5 == 5) is true
-!(6 <= 4)   // evaluates to true because (6 <= 4) would be false
-!true       // evaluates to false
-!false      // evaluates to true
-
-
-
Conditional ternary operator
-

The conditional operator evaluates an expression, returning one value if that expression evaluates to true, and a different one if the expression evaluates as false. Its syntax is:

-
condition ? result1 : result2
-

If condition is true, the entire expression evaluates to result1, and otherwise to result2.

-
7==5 ? 4 : 3     // evaluates to 3, since 7 is not equal to 5.
-7==5+2 ? 4 : 3   // evaluates to 4, since 7 is equal to 5+2.
-5>3 ? a : b      // evaluates to the value of a, since 5 is greater than 3.
-a>b ? a : b      // evaluates to whichever is greater, a or b.
- -
Bitwise Operators
-

Bitwise operators modify variables considering the bit patterns that represent the values they store.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
OperatorDescription
&Bitwise AND
|Bitwise inclusive OR
^Bitwise exclusive OR
~Unary complement (bit inversion)
<<Shift bits left
>>Shift bits right
-
Precedence of operators
-

A single expression may have multiple operators. For example:

-
x = 5 + 7 % 2
-

the above expression always assigns 6 to variable x, because the % operator has a higher precedence than the + operator, and is always evaluated before. Parts of the expressions can be enclosed in parenthesis to override this precedence order, or to make explicitly clear the intended effect. Notice the difference:

-
x = 5 + (7 % 2)    // x = 6 (same as without parenthesis)
-x = (5 + 7) % 2    // x = 0
-

From greatest to smallest priority, Operators are evaluated in the following order:

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
LevelPrecedence groupOperatorDescriptionGrouping
1Postfix (unary)++ --postfix increment / decrementLeft-to-right
()functional forms
[]subscript
.member access
2Prefix (unary)++ --prefix increment / decrementRight-to-left
~ !bitwise NOT / logical NOT
+ -unary prefix
4Arithmetic: scaling* / %multiply, divide, moduloLeft-to-right
5Arithmetic: addition+ -addition, subtractionLeft-to-right
6Bitwise shift<< >>shift left, shift rightLeft-to-right
7Relational< > <= >=comparison operatorsLeft-to-right
8Equality== !=equality / inequalityLeft-to-right
9And&bitwise ANDLeft-to-right
10Exclusive or^bitwise XORLeft-to-right
11Inclusive or|bitwise ORLeft-to-right
12Conjunction&&logical ANDLeft-to-right
13Disjunction||logical ORLeft-to-right
15Assignment-level expressions=assignmentRight-to-left
?:conditional operator
16Sequencing,comma separatorLeft-to-right
-

- When an expression has two operators with the same precedence level, grouping determines which one is evaluated first: either left-to-right or right-to-left.
- Enclosing all sub-statements in parentheses (even those unnecessary because of their precedence) improves code readability. -

\ No newline at end of file diff --git a/docs/expressions/string.cshtml b/docs/expressions/string.cshtml deleted file mode 100644 index 446f9ef..0000000 --- a/docs/expressions/string.cshtml +++ /dev/null @@ -1,52 +0,0 @@ -@page -@{ - ViewData["title"] = "String literal - Expressions"; - ViewData["page-support"] = "Expressions \\ String literal"; -} -

String literal

-
-

string is zero or more characters written inside single or double quotes.

-

You can use quotes inside a string, as long as they don't match the quotes surrounding the string:

-
var
-{
-    var1 = "It's alright"
-    var2 = "He is called 'Johnny'"
-    var3 = 'He is called "Johnny"'
-}
-
-
Single quotes
-
-

single quotes allow you to use the syntax of expressions within them.
The @@ sign must be placed before the expressions.

-
dynamic
-{
-    item(title = 'windows dir path: @@sys.dir')
-}
-
-
Double quotes
-
-

double quotes allow you to use the Escape Character inside them only.
The backslash (\) escape character turns special characters into characters.
The sequence \" inserts a double quote in a string:

-
var
-{
-    var1 = "hello\"world"
-    // result: hello"world
-}
-

The complete set of escape sequences is as follows:

- - - - - - - - - - - - - - - - - -
\'Single quote
\"Double quote
\\Backslash
\0Null
\aAlert
\bBackspace
\fForm Feed
\nNew Line
\rCarriage Return
\tHorizontal Tab
\vVertical Tab
\uxxxxUnicode escape sequence (UTF-16) \uHHHH (range: 0000 - FFFF)
\xnnnnUnicode escape sequence for character with hex value nnnn (variable length version of \uxxxx)
\UxxxxxxxxUnicode escape sequence (UTF-32) \U00HHHHHH (range: 000000 - 10FFFF)
- diff --git a/docs/functions/app.cshtml b/docs/functions/app.cshtml deleted file mode 100644 index 08a1bd0..0000000 --- a/docs/functions/app.cshtml +++ /dev/null @@ -1,59 +0,0 @@ -@page -@{ - ViewData["title"] = "APP - Functions"; - ViewData["page-support"] = "Functions \\ APP"; -} -
APP
-
-

The namespace of the application contains file paths, version and some details.

-
-

-

app.directory (app.dir)
- Returns the path of Shell directory. -

-
-

-

app.cfg
- Returns the path of the configuration file "shell.shl". -

-
-

-

app.dll
- Returns the path of "shell.dll". -

-
-

-

app.exe
- Returns the path of "shell.exe". -

-
-

-

app.name
- Returns application name. -

-
-

-

app.version (app.ver)
- Revert Shell version. -

-
-

-

app.is64
- Returns the architecture of the application. -

-
-

-

app.about
- Returns Shell information. -

-
-

-

app.reload
- Reload the configuration file. -

-
-

-

app.unload
- Unload the configuration file. -

-
diff --git a/docs/functions/color.cshtml b/docs/functions/color.cshtml deleted file mode 100644 index 596b84c..0000000 --- a/docs/functions/color.cshtml +++ /dev/null @@ -1,154 +0,0 @@ -@page -@{ - ViewData["title"] = "COLOR - Functions"; - ViewData["page-support"] = "Functions \\ COLOR"; -} -
COLOR
-
-

Color namespace contains predefined colors

-
-
-color.default
-color.accent
-color.aliceblue
-color.antiquewhite
-color.aqua
-color.aquamarine
-color.azure
-color.beige
-color.bisque
-color.black
-color.blanchedalmond
-color.blue
-color.blueviolet
-color.brown
-color.burlywood
-color.cadetblue
-color.chartreuse
-color.chocolate
-color.coral
-color.cornflowerblue
-color.cornsilk
-color.crimson
-color.cyan
-color.darkblue
-color.darkcyan
-color.darkgoldenrod
-color.darkgray
-color.darkgreen
-color.darkkhaki
-color.darkmagenta
-color.darkolivegreen
-color.darkorange
-color.darkorchid
-color.darkred
-color.darksalmon
-color.darkseagreen
-color.darkslateblue
-color.darkslategray
-color.darkturquoise
-color.darkviolet
-color.deeppink
-color.deepskyblue
-color.dimgray
-color.dodgerblue
-color.firebrick
-color.floralwhite
-color.forestgreen
-color.fuchsia
-color.gainsboro
-color.ghostwhite
-color.gold
-color.goldenrod
-color.gray
-color.green
-color.greenyellow
-color.honeydew
-color.hotpink
-color.indianred
-color.indigo
-color.ivory
-color.khaki
-color.lavender
-color.lavenderblush
-color.lawngreen
-color.lemonchiffon
-color.lightblue
-color.lightcoral
-color.lightcyan
-color.lightgoldenrodyellow
-color.lightgray
-color.lightgreen
-color.lightpink
-color.lightsalmon
-color.lightseagreen
-color.lightskyblue
-color.lightslategray
-color.lightsteelblue
-color.lightyellow
-color.lime
-color.limegreen
-color.linen
-color.magenta
-color.maroon
-color.mediumaquamarine
-color.mediumblue
-color.mediumorchid
-color.mediumpurple
-color.mediumseagreen
-color.mediumslateblue
-color.mediumspringgreen
-color.mediumturquoise
-color.mediumvioletred
-color.midnightblue
-color.mintcream
-color.mistyrose
-color.moccasin
-color.navajowhite
-color.navy
-color.oldlace
-color.olive
-color.olivedrab
-color.orange
-color.orangered
-color.orchid
-color.palegoldenrod
-color.palegreen
-color.paleturquoise
-color.palevioletred
-color.papayawhip
-color.peachpuff
-color.peru
-color.pink
-color.plum
-color.powderblue
-color.purple
-color.red
-color.rosybrown
-color.royalblue
-color.saddlebrown
-color.salmon
-color.sandybrown
-color.seagreen
-color.seashell
-color.sienna
-color.silver
-color.skyblue
-color.slateblue
-color.slategray
-color.snow
-color.springgreen
-color.steelblue
-color.tan
-color.teal
-color.thistle
-color.tomato
-color.transparent
-color.turquoise
-color.violet
-color.wheat
-color.white
-color.whitesmoke
-color.yellow
-color.yellowgreen
-
\ No newline at end of file diff --git a/docs/functions/image.cshtml b/docs/functions/image.cshtml deleted file mode 100644 index 5925f3f..0000000 --- a/docs/functions/image.cshtml +++ /dev/null @@ -1,49 +0,0 @@ -@page -@{ - ViewData["title"] = "Functions"; - ViewData["page-support"] = "Functions \\ Image"; -} -
IMAGE (DRAW)
-

The image namespace contains functions that return an icon and are only assigned to the image property

-
-
image.glyph
-

Return font icon with color and size option.

-

Syntax

- image.glyph(0xE00B)
- image.glyph("\uE00B")
- image.glyph("\xE00B")
-
- image.glyph(0xE00B, #0000ff)
- image.glyph(0xE00B, #0000ff, 10)
- image.glyph(0xE00B, #0000ff, 12, "Segoe MDL2 Assets")
-
-
-
image.icon
-

Returns an icon through a path or through resources.

-

Syntax

- image.icon(path)
- image.icon(path, index)
- image.icon(path, -id)
-
- image(path)
- image(path, index)
- image(path, -id)
-
-
-
image.rect
-

Returns a colored rectangle icon of an optional size.

-

Syntax

- image.rect(#0000ff)
- image.rect(#0000ff, 10)
-
- -@* -
-image.res
-image.str
-image.symbol
-draw.str
-draw.symbol
-draw.circle
-
-*@ \ No newline at end of file diff --git a/docs/functions/index.cshtml b/docs/functions/index.cshtml deleted file mode 100644 index 62a3921..0000000 --- a/docs/functions/index.cshtml +++ /dev/null @@ -1,162 +0,0 @@ -@page -@{ - ViewData["title"] = "Functions"; - ViewData["page-support"] = "Functions"; -} -

Functions

-

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.

-
-
if
-

Conditionally executes another statement.

-

Syntax

- if(condition-expression)

- if(condition-expression, true-expression)

- if(condition-expression, true-expression, false-expression) -
-
-
null
-

Returns a null value.

-

Syntax

- null(expression)

-
-
-
quote
-

Returns text with a double quotation mark.

-

Syntax

- quote(expression) -
-
-
char
-

Returns the value of the numeric parameter to a character.

-

Syntax

- char(numeric-expression) -
-
-
var
-

Returns the value of the passed variable

-

Syntax

- var(expression) -
-
-
tohex
-

Converting the value of the passed numeric expression to hexadecimal string.

-

Syntax

- tohex(numeric-expression) -
-
-
equal
-

Returns true if the parameters passed are equal.

-

Syntax

- equal(expression-1, expression-2) -
-
-
not
-

Returns true if the parameters passed are not equal.

-

Syntax

- not(expression-1, expression-2) -
-
-
greater
-

Returns true if the first parameter is greater than the second parameter.

-

Syntax

- greater(expression-1, expression-2) -
-
-
less
-

Returns true if the first parameter is less than the second parameter.

-

Syntax

- less(expression-1, expression-2) -
-
-
shl
-

bitwise left shift.

-

Syntax

- shl(shift-expression, additive-expression) -
-
-
shr
-

bitwise right shift.

-

Syntax

- shr(shift-expression, additive-expression) -
-
-
cmd visibility enumerations
-

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
-
-
-
Selection mode enumerations
-

Syntax

-
mode.none
-mode.single
-mode.multiple
-mode.multiunique
-mode.multisingle
-mode.multi
- -
-
-
Selection type enumerations
-

Syntax

-
type.desktop
-type.directory(dir)
-type.drive
-type.dvd
-type.file
-type.fixed
-type.namespace
-type.remote
-type.unknown
-type.usb
-type.vhd
-
- -
Keywords
-
null
-bool
-true
-false
-auto
-none
-default
-
-@* -
-for
-foreach
-
-
Keywords
-
-break
-continue	
-null
-bool
-true
-false
-auto
-none
-inherit
-parent
-before
-after
-both
-top
-bottom
-hidden
-normal
-show
-visible
-minimized
-maximized
-
-*@ - -
app | color | image | io | key | msg | path | reg | sel | str | sys | user -
- diff --git a/docs/functions/io.cshtml b/docs/functions/io.cshtml deleted file mode 100644 index 30d4e39..0000000 --- a/docs/functions/io.cshtml +++ /dev/null @@ -1,134 +0,0 @@ -@page -@{ - ViewData["page-support"] = "Functions \\ IO"; -} -
IO
-
-
-
io.attribute enumerations.
-

Syntax

-
io.attribute.archive
-io.attribute.compressed
-io.attribute.device
-io.attribute.directory
-io.attribute.encrypted
-io.attribute.hidden
-io.attribute.invalid
-io.attribute.normal
-io.attribute.offline
-io.attribute.readonly
-io.attribute.sparsefile
-io.attribute.system
-io.attribute.temporary
-io.attribute.virtual
-
-
-
io.attributes
-

Retrieves file system attributes for a specified path.

-

Syntax

- io.attributes(path)

-

attribute verification

-
// check if path is hidden
-io.attribute.hidden(path)
-
-// check if path is directory
-io.attribute.directory(path)
-
-var { atrr = io.attributes(path) }
-
-// check if attr is hidden
-io.attribute.hidden(atrr)
-
-// check if attr is directory
-io.attribute.directory(atrr)
-
-
-
io.copy
-

Copies an existing file to a new file.

-

Syntax

- io.copy(pathFrom, pathTo) -
-
-
io.move
-

Moves an existing file or a directory, including its children..

-

Syntax

- io.move(oldPath, newPath) -
-
-
io.rename
-

Rename a file or directory.

-

Syntax

- io.rename(oldName, newName) -
-
-
io.delete
-

Deletes an existing path.

-

Syntax

- io.delete(path) -
-
-
io.directory.create (io.dir.create)
-

Create new directory.

-

Syntax

- io.directory.create(path) -
-
-
io.directory.exists (io.dir.exists)
-

Check if one or more directories exists.

-

Syntax

- io.directory.exists(path) -
- io.directory.exists(path1, path2, path3, ...) -
-
-
io.directory.empty (io.dir.empty)
-

Check if one or more directory is empty.

-

Syntax

- io.directory.empty(path) -
- io.directory.empty(path1, path2, path3, ...) -
-
File functions.
-
-
io.file.size
-

Retrieves the size of the specified file, in bytes.

-

Syntax

- io.file.size(path) -
-
-
io.file.exists
-

Check if one or more files exists.

-

Syntax

- io.file.exists(path) -
- io.file.exists(path1, path2, path3, ...) -
-
-
io.file.read
-

Read file contents as text with character count option.

-

Syntax

- io.file.read(path)
- io.file.read(path, 12) -
-
-
io.file.create
-

Create new file with content option.

-

Syntax

- io.file.create(path)
- io.file.create(path, "Hello World!") -
-
-
io.file.write
-

Writing to a file with new content.

-

Syntax

- io.file.write(path, "Hello World!") -
-
-
io.file.append
-

Appends text to an existing file, or to a new file if the specified file does not exist.

-

Syntax

- io.file.append(path, "Hello ") -
- io.file.append(path, "World!") -
- diff --git a/docs/functions/key.cshtml b/docs/functions/key.cshtml deleted file mode 100644 index 36e14f4..0000000 --- a/docs/functions/key.cshtml +++ /dev/null @@ -1,86 +0,0 @@ -@page -@{ - ViewData["page-support"] = "Functions \\ KEY"; -} -
KEY
-

Keyboard functions

-
-
keys enumerations
-
key.alt
-key.apps
-key.back
-key.cancel
-key.capital
-key.capslock
-key.control
-key.delete
-key.down
-key.end
-key.enter
-key.escape
-key.execute
-key.f1
-key.f10
-key.f11
-key.f12
-key.f2
-key.f3
-key.f4
-key.f5
-key.f6
-key.f7
-key.f8
-key.f9
-key.help
-key.home
-key.insert
-key.lalt
-key.lcontrol
-key.left
-key.lshift
-key.lwin
-key.next
-key.none
-key.pagedown
-key.pageup
-key.pause
-key.play
-key.print
-key.printscreen
-key.prior
-key.ralt
-key.rcontrol
-key.return
-key.right
-key.rshift
-key.rwin
-key.shift
-key.snapshot
-key.space
-key.tab
-key.up
-key.win
-
- -
-
key
-

Syntax

-
-// check if SHIFT key is pressed
-key(key.shift)
-
-// or
-key == key.shift
-
-// or
-key.shift()
-
-// check if tow keys (SHIFT+CTRL+X) is pressed
-key(key.shift, key.control)
-
-// check if keys (SHIFT+CTRL+X) is pressed
-key(key.shift, key.control, 87)
-	
-
- - diff --git a/docs/functions/msg.cshtml b/docs/functions/msg.cshtml deleted file mode 100644 index 572cff0..0000000 --- a/docs/functions/msg.cshtml +++ /dev/null @@ -1,126 +0,0 @@ -@page -@{ - ViewData["title"] = "MSG - Functions"; - ViewData["page-support"] = "Functions \\ MSG"; -} -

MSG

-

Displays a modal dialog box that contains a system icon, a set of buttons, and a brief application-specific message, such as status or error information. The message box returns an integer value that indicates which button the user clicked.

- -
Syntax
-
-msg(text)
-msg(text, title)
-msg(text, title, flags)
-
-
-
Parameters
- - - - - - - - - - - - - -
textThe message to be displayed.
titleThe dialog box title. If this parameter is NULL, the default title is Nilesoft Shell.
flagsThe contents and behavior of the dialog box. This parameter can be a combination of flags from the following groups of flags.
- -
Flags
-
-
To display an icon in the message box, specify one of the following values.
-
-
msg.error
-
A stop-sign icon appears in the message box.
- -
msg.question
-
A question-mark icon appears in the message box.
- -
msg.warning
-
An exclamation-point icon appears in the message box.
- -
msg.info
-
An icon consisting of a lowercase letter i in a circle appears in the message box.
-
-
To indicate the buttons displayed in the message box, specify one of the following values.
-
-
msg.ok
-
The message box contains one push button: OK. This is the default.
- -
msg.okcancel
-
The message box contains two push buttons: OK and Cancel.
- -
msg.yesnocancel
-
The message box contains three push buttons: Yes, No, and Cancel.
- -
msg.yesno
-
The message box contains two push buttons: Yes and No.
-
-
-
To indicate the default button, specify one of the following values.
-
-
msg.defbutton1
-
The first button is the default button.
- -
msg.defbutton2
-
The second button is the default button.
- -
msg.defbutton3
-
The third button is the default button.
-
-
-
To indicate the modality of the dialog box, specify one of the following values.
-
-
msg.applmodal
-
The user must respond to the message box before continuing work in the current window. However, the user can move to the windows of other threads and work in those windows.
-
msg.taskmodal
-
Same as msg.applmodal except that all the top-level windows belonging to the current thread are disabled. -
-
-
To specify other options, use one or more of the following values.
-
-
msg.right
-
The text is right-justified.
-
msg.rtlreading
-
Displays message and caption text using right-to-left reading order on Hebrew and Arabic systems.
-
msg.setforeground
-
The message box becomes the foreground window.
-
msg.topmost
-
-
-
-
Return value
-

If a message box has a Cancel button, the function returns the msg.idcancel value if either the ESC key is pressed or the Cancel button is selected. If the message box has no Cancel button, pressing ESC will no effect - unless an msg.ok button is present. If an msg.ok button is displayed and the user presses ESC, the return value will be msg.idok.

-

If the function fails, the return value is zero.
-If the function succeeds, the return value is one of the following values: -

-
msg.idok or 1
-
The OK button was selected.
- -
msg.idcancel or 2
-
The Cancel button was selected.
- -
msg.idyes or 6
-
The Yes button was selected.
- -
msg.idno or 7
-
The No button was selected.
-
-

-
Examples
-
msg("Hello, Warld!","NileSoft Shell", msg.info | msg.ok)
-msg("Hello, Warld!","NileSoft Shell")
-msg("Hello, Warld!")
-

-
-
msg.beep(type)
-

Plays a waveform sound. The waveform sound for each sound type is identified by an entry in the registry.

-

Syntax

- sys.beep
- sys.beep(msg.error)
- sys.beep(msg.warning) -
\ No newline at end of file diff --git a/docs/functions/path.cshtml b/docs/functions/path.cshtml deleted file mode 100644 index b5642c0..0000000 --- a/docs/functions/path.cshtml +++ /dev/null @@ -1,190 +0,0 @@ -@page -@{ - ViewData["page-support"] = "Functions \\ PATH"; -} -
PATH
-
-
-
path.combine (path.join)
-

Combines an array of strings into a path.

-

Syntax

- path.combine(path1, path2)
- path.combine("C:", "Windows", "Explorer.exe") -
-
-
path.currentdirectory (path.curdir)
-

Retrieves the current directory for the current process.

-

Syntax

- path.currentdirectory -
-
-
path.directory.name (path.dir.name)
-

Return the directory name from the path.

-

Syntax

- path.directory.name('c:\windows\system32') // returns: system32 -
-
-
path.directory.box (path.dir.box)
-

Shows the directory selection box and returns the path of the specified directory.

-

Syntax

- path.directory.box -
-
-
path.empty
-

Check if one or more path is empty.

-

Syntax

- path.empty(path)
- path.empty(path1, path2, ...) -
-
-
path.exists
-

Check if one or more path exists..

-

Syntax

- path.exists(path)
- path.exists(path1, path2, ...) -
-
-
path.full
-

Returns the absolute path for the specified path string.

-

Syntax

- path.full(path) -
-
-
path.short
-

Retrieves the short path form of the specified path.

-

Syntax

- path.short(path) -
-
-
path.name
-

Return the name from the path.

-

Syntax

- path.name(path) -
-
-
path.location (path.parent)
-

Return the path of the parent

-

Syntax

- path.location(path) -
-
-
path.location.name
-

Return the name from the parent

-

Syntax

- path.location.name(path) -
-
-
path.root
-

Return the drive path

-

Syntax

- path.root(path) -
-
-
path.title
-

Return the title from the path

-

Syntax

- path.title(path) -
-
-
path.type
-

Return the type of path

-

Syntax

- path.type(path) == type.file -
-
-
path.file.name
-

Return the name of path

-

Syntax

- path.file.name(path) -
-
-
path.file.title
-

Return the name of path without extension

-

Syntax

- path.file.title(path) -
-
-
path.file.ext
-

Return the extension of path

-

Syntax

- path.file.ext(path) -
-
-
path.file.box
-

Shows the file selection box and returns the path of the specified file.

-

Syntax

- path.file.box
- path.file.box('All|*.*|Text|*.txt')
- path.file.box('exe|*.exe', 'c:\windows')
- path.file.box('exe|*.exe', 'c:\windows', 'explorer.exe') -
-
-
path.isabsolute
-

-

Syntax

- path.isabsolute(path) -
-
-
path.isrelative
-

-

Syntax

- path.isrelative(path) -
-
-
path.isfile
-

-

Syntax

- path.isfile(path) -
-
-
path.isdirectory
-

-

Syntax

- path.isdirectory(path) -
-
-
path.isroot (path.isdrive)
-

-

Syntax

- path.isdrive(path) -
-
-
path.isclsid (path.isnamespace)
-

-

Syntax

- path.isclsid(path) -
-
-
path.isexe
-

-

Syntax

- path.isexe(path) -
-
-
path.removeextension
-

Remove the extension from the passed parameter.

-

Syntax

- path.removeextension -
-
-
path.lnktarget (path.lnk)
-

Return a path from the shortcut

-

Syntax

- path.lnktarget -
-
-
path.getknownfolder
-

Retrieves the full path of a known folder identified.

-

Syntax

- path.getknownfolder('{905e63b6-c1bf-494e-b29c-65b732d3d21a}') -
- -
-
path.separator(path.sep)
-

Replacing the back slash with a forward slash or defining a spacer.

-

Syntax

- path.separator('c:\windows\system32') return "c:/windows/system32"
- path.separator('c:\windows\system32', '#') return "c:#windows#system32" -
- - diff --git a/docs/functions/reg.cshtml b/docs/functions/reg.cshtml deleted file mode 100644 index e4ee54d..0000000 --- a/docs/functions/reg.cshtml +++ /dev/null @@ -1,37 +0,0 @@ -@page -@{ - ViewData["page-support"] = "Functions \\ REG"; -} -
REG
-@*
- Documentation under construction. -
*@ -

Registary functions

-
-
-
Registry hive enum
-

Syntax

-
reg.cr	// HKEY_CLASSES_ROOT
-reg.cu	// HKEY_CURRENT_USER
-reg.lm	// HKEY_LOCAL_MACHINE
-reg.u	// HKEY_USERS
-reg.cc	// HKEY_CURRENT_CONFIG
-
-
-
Registry value kind Enum
-

Syntax

-
reg.none	// No data type
-reg.sz		// REG_SZ
-reg.expand	// REG_EXPAND_SZ
-reg.binary	// REG_BINARY
-reg.multi	// REG_MULTI_SZ
-reg.dword	// REG_DWORD
-reg.qword	// REG_QWORD
-
- -
-
The function of reading from the Registry.
-

Syntax

- reg(reg.lm, 'SOFTWARE\Microsoft\Windows NT\CurrentVersion','ProductName')

- reg(reg.cr, 'txtfile\DefaultIcon') -
\ No newline at end of file diff --git a/docs/functions/sel.cshtml b/docs/functions/sel.cshtml deleted file mode 100644 index 2fa6953..0000000 --- a/docs/functions/sel.cshtml +++ /dev/null @@ -1,285 +0,0 @@ -@page -@{ - ViewData["title"] = "SEL - Functions"; - ViewData["page-support"] = "Functions \\ SEL"; -} -
SEL
-

Has many functions to handle selected file system objects.

-@* has the following syntax:*@ -
-

-

sel(quote=false, separator=' ')
-

Returns all selected items with double quotation mark and custom separator.

-
sel
sel(true)
sel(true, "\n")
-

-
-

-

sel.path
- Returns the path of the selected item.. -

-
-

-

sel.path.title
- Returns the name without the extension of the selected item. -

-
-

-

sel.path.length
- Returns the number of characters in the path of the selected item. -

-
-

-

sel.path.title
- Returns the path title of the selected item.. -

-
-

-

sel.path.quote
- Returns the path of the selected item. with double quotation mark. -

-
-

-

sel.short
- Returns the short path of the selected item. -

-
-

-

sel.short.length
- Returns the number of characters in the short path of the selected item. -

-
-

-

sel.raw
- Returns the path of the selected item in raw format. -

-
-

-

sel.raw.length
- Returns the number of characters in the raw path of the selected item. -

-
-

-

sel.root
- Returns the root directory from the path of the selected items. -

-
-

-

sel.name
- Returns the name and extension of the selected item. -

-
-

-

sel.name.length
- Returns the number of characters in the name of the selected item. -

-
-

-

sel.title
- Returns the name without extension of the selected item. -

-
-

-

sel.title.length
- Returns the number of characters in the name without extension of the selected item. -

-
-

-

sel.parent
- Returns the directory path for the selected item. -

-
-

-

sel.parent.quote
- Returns the directory path for the selected item with quotation mark. -

-
-

-

sel.parent.raw
- Returns the directory path for the selected item in raw format. -

-
-

-

sel.parent.name
- Returns the name of the parent of the selected item. -

-
-

-

sel.parent.length
- Returns the number of characters in the parent path of the selected item. -

-
-

-

sel.count
- Returns count selected items. -

-
-

-

sel.back
- Returns whether the selection is in the background. -

-
-

-

sel.curdir or sel.workdir
- Returns the path of current working directory. -

-
-

-

sel.file
- Returns the path for the selected item. If it is a file -

-
-

-

sel.file.name
- Returns the number of characters in the name of the selected item. If it is a file. -

-
-

-

sel.file.name.length
- Returns the name for the selected item. If it is a file. -

-
-

-

sel.file.ext
- Returns the extension for the selected item. If it is a file. -

-
-

-

sel.file.title
- Returns the name without an extension for the selected item. If it is a file. -

-
-

-

sel.file.quote
- Returns the path for the selected item with quotation mark. If it is a file. -

-
-

-

sel.directory
- Returns the path for the selected item. If it is a directory. -

-
-

-

sel.directory.name
- Returns the name for the selected item. If it is a directory. -

-
-

-

sel.directory.length
- Returns the number of characters in the path of the selected item. If it is a directory. -

-
-

-

sel.directory.quote
- Returns the path for the selected item with quotation mark. If it is a directory. -

-
-

-

sel.get(index=0)
- Returns the path of the selected item by referring to the index number. -

-
-

-

sel.raw(index=0)
- Returns the raw path of the selected item by referring to the index number. -

-
-

-

sel.length(index=0)
- Returns the number of characters in the path of the selected item by referring to the index number. -

-
-

-

sel.readonly(index=0)
- Returns whether the selected item by referring to the index number is read-only. -

-
-

-

sel.hidden(index=0)
- Returns whether the selected item by referring to the index number is hidden. -

@* -
-

-

sel.type
- Returns the type for the selected item with the following values:

-
type.directory
-type.file
-type.namespace
-type.drive
-type.fixed
-type.usb
-type.dvd
-type.vhd
-type.removable
-type.taskbar
-type.desktop
-type.computer
-type.recyclebin
-type.remote
-type.back
-type.back.namespace
-type.back.directory
-type.back.drive
-

-
-

-

sel.mode
- Returns the selection mode with the following values:

-
mode.none
-mode.single
-mode.multiple
-mode.multisingle
-mode.multiunique
-

*@ -@* -
-

-

sel.tofile(quote=true, sep="\n", path='@@sys.temp\shell.txt')
- Returns the path of the file containing the selections with optional parameters quotation mark, separator, and file path..
default path value %temp%\shell-selections.txt

-
sel.tofile(true)
-sel.tofile(true, "\r\n")
-sel.tofile(false, "\n", 'C:\sell\selections.txt')
-

-

-
- -
-sel.paths
-sel.paths.count
-sel.paths.title
-sel.paths.quote
-
-sel.directories(dirs)
-sel.directories.count
-sel.directories.title
-sel.directories.quote
-
-sel.files
-sel.files.count
-sel.files.ext
-sel.files.title
-sel.files.name
-sel.files.quote
-
-sel.types
-sel.types.count
-
-sel.shorts
-sel.shorts.count
-
-sel.titles
-sel.titles.count
-
-sel.names
-sel.names.count
-
-sel.exts
-sel.exts.count
-
-sel.drivers
-sel.drivers.count
-
-sel.namespaces
-sel.namespaces.count
-
-*@ -@*If the sys function is passed without an argument, then the interactive help utility starts up on the console.*@ diff --git a/docs/functions/str.cshtml b/docs/functions/str.cshtml deleted file mode 100644 index 27eaba1..0000000 --- a/docs/functions/str.cshtml +++ /dev/null @@ -1,202 +0,0 @@ -@page -@{ - ViewData["page-support"] = "Functions \\ STR"; -} -
STR
-
-
-
str.get (str.at)
-

Returns a character from a specific location in the string.

-

Syntax

- str.get("Hello World!", 7) -
-
-
str.set
-

Sets a character with a specific location in the string.

-

Syntax

- str.set("Hello World!", 6, '-') -
-
-
str.contains
-

Returns a value indicating whether a specified substring occurs within this string.

-

Syntax

- str.contains("Hello World!", 'World') -
-
-
str.empty (str.null)
-

Tests whether the string contains characters.

-

Syntax

- str.empty("") -
-
-
str.start
-

Checks whether the string starts with the specified prefix.

-

Syntax

- str.start("Hello World!", "World!") -
-
-
str.end
-

Checks whether the string ends with the specified suffix.

-

Syntax

- str.end("Hello World!", "World!") -
-
-
str.equals
-

Determines whether two String have the same value.

-

Syntax

- str.equals("Hello World!", "Hello World!") -
-
-
str.not
-

Determine if two strings do not have the same value.

-

Syntax

- str.not("Hello World!", "Hello-World!") -
-
-
str.length (str.len)
-

Gets the number of characters in the current string.

-

Syntax

- str.length("Hello World!") -
-
-
str.trim
-

Returns a new string in which all leading and trailing occurrences of a set of specified characters from the current string are removed.

-

Syntax

-

Removes all leading and trailing white-space characters from the current string.

- str.trim(" Hello World! ")

-

Removes all leading and trailing 'H!' characters from the current string.

- str.trim("Hello World!", "H!") -
-
-
str.trimstart
-

Returns a new string in which all leading occurrences of a set of specified characters from the current string are removed.

-

Syntax

-

Removes all leading white-space characters from the current string.

- str.trimstart(" Hello World!")
- -

Removes all leading 'H' characters from the current string.

- str.trimstart("Hello World!", "H") -
-
-
str.trimend
-

Returns a new string in which all trailing occurrences of a set of specified characters from the current string are removed.

-

Syntax

-

Removes all trailing white-space characters from the current string.

- str.trimend("Hello World! ")
- -

Removes all trailing '!' characters from the current string.

- str.trimend("Hello World!", "!") -
-
-
str.find
-

Searches a string in a forward direction for the first occurrence of a substring that matches a specified sequence of characters.

-

Syntax

- str.find("Hello World!", "lo") -
-
-
str.findlast
-

Searches a string in a backward direction for the first occurrence of a substring that matches a specified sequence of characters.

-

Syntax

- str.findlast("Hello World!", "Wor") -
-
-
str.lower
-

Returns a copy of this string converted to lowercase.

-

Syntax

- str.lower("Hello World!") -
-
-
str.upper
-

Returns a copy of this string converted to uppercase.

-

Syntax

- str.upper("Hello World!") -
-
-
str.left
-

Extracts the left part of a string.

-

Syntax

- str.left("Hello World!", 5) -
-
-
str.right
-

Extracts the right part of a string.

-

Syntax

- str.right("Hello World!", 5) -
-
-
str.sub
-

Copies a substring of at most some number of characters from a string beginning from a specified position.

-

Syntax

- str.sub("Hello World!", 5)
- str.sub("Hello World!", 0, 5) -
-
-
str.remove
-

Removes an element or a range of elements in a string from a specified position.

-

Syntax

- str.replace("Hello World!", " ")
- str.remove("Hello World!", 5)
- str.remove("Hello World!", 5, 1) -
-
-
str.replace
-

Replace elements in a string at a specified position with specific characters or characters copied from other ranges or strings.

-

Syntax

- str.replace("Hello World!", "World", "User")
- str.replace("Hello World!", "world", "user", true) -
-
-
str.padleft
-

Returns a new string of a specified length in which the beginning of the current string is padded with spaces or with a specified character.

-

Syntax

- str.padleft("Hello World!", "*")
- str.padleft("Hello World!", "*", 3) -
-
-
str.padright
-

Returns a new string of a specified length in which the end of the current string is padded with spaces or with a specified character.

-

Syntax

- str.padright("Hello World!", "*")
- str.padright("Hello World!", "*", 3) -
-
-
str.padding
-

Returns a new string of a specified length in which the start and end of the current string is padded with spaces or with a specified character.

-

Syntax

- str.padding("Hello World!", "*")
- str.padding("Hello World!", "*", 3) -
- -
-
str.guid
-

Returns a new guid string

-

Syntax

- str.guid return 00000000000000000000000000000000
- str.guid(1) return 00000000-0000-0000-0000-000000000000
- str.guid(2) return {00000000-0000-0000-0000-000000000000}
- str.guid(3) return (00000000-0000-0000-0000-000000000000)
-
- -
-
str.capitalize
-

Returns a new capitalize string

-

Syntax

- str.capitalize('hello world') return "Hello World"
-
- -
-
str.res
-

Returns a string resource from the executable file. "shell32.dll" is the default file.

-

Syntax

- str.res(-4640) return "Runs the selected command with elevation" from "shell32.dll"
- str.res('explorer.dll', -22000) return "Desktop"
-
- -@* -
-
str.format
-

Formats the string as sprintf does.

-

Syntax

- str.format("Hello %s!", "World")
str.format("Hello World!", "*", 3) -
*@ diff --git a/docs/functions/sys.cshtml b/docs/functions/sys.cshtml deleted file mode 100644 index d3db617..0000000 --- a/docs/functions/sys.cshtml +++ /dev/null @@ -1,113 +0,0 @@ -@page -@{ - ViewData["page-support"] = "Functions \\ SYS"; -} -
SYS (SYSTEM)
-
-
sys.name
-

Returns Windows name.

-

Syntax

- sys.name -
-
-
sys.name
-

Returns Windows name.

-

Syntax

- sys.name -
-
-
sys.type
-

Returns system architecture.

-

Syntax

- sys.type -
-
-
sys.type
-

Returns system architecture.

-

Syntax

- sys.type == 64
- sys.type == 32 -
-
-
sys.is64
-

Returns if system architecture is x64.

-

Syntax

- sys.is64 -
-
-
sys.dark
-

Check if dark mode is enabled.

-

Syntax

- sys.dark -
-
-
sys.var
-

Retrieves the value of an environment variable.

-

Syntax

- sys.var('WINDIR') -
-
-
sys.version (sys.ver)
-

Windows version.

-

Syntax

-
sys.version
-sys.version.build
-sys.version.major
-sys.version.minor
-sys.version.name
-sys.version.type
-
-
-
sys.datetime
-

Date and time format

-

Syntax

-
sys.datetime
-sys.datetime.date
-sys.datetime.date_day
-sys.datetime.date_dayofweek
-sys.datetime.date_month
-sys.datetime.date_y
-sys.datetime.date_year
-sys.datetime.date_yy
-sys.datetime.short
-sys.datetime.time
-sys.datetime.time_hour
-sys.datetime.time_milliseconds
-sys.datetime.time_min
-sys.datetime.time_minute
-sys.datetime.time_ms
-sys.datetime.time_pm
-sys.datetime.time_second
-
-
-
Windows paths
-
sys.appdata
-sys.bin
-sys.bin32
-sys.bin64
-sys.directory (sys.dir)
-sys.path
-sys.prog
-sys.prog32
-sys.programdata
-sys.random
-sys.refresh
-sys.root
-sys.temp
-sys.templates
-sys.users
-sys.wow
-
- -
-
sys.beep(milliseconds)
-

Suspends the execution of the current thread until the time-out interval elapses.

-

Syntax

- sys.sleep(1000) -
- -
@*sys.copy
-sys.extended*@
-sys.toggleext
-sys.togglehidden
-
diff --git a/docs/functions/user.cshtml b/docs/functions/user.cshtml deleted file mode 100644 index 025fc28..0000000 --- a/docs/functions/user.cshtml +++ /dev/null @@ -1,40 +0,0 @@ -@page -@{ - ViewData["page-support"] = "Functions \\ USER"; -} -
USER
-
-
-
user.name
-

Returns the current username.

-

Syntax

- user.name -
- -
-
Functions to return the path of user directories
-

Syntax

-
user.home
-user.appdata
-user.contacts
-user.desktop
-user.directory (user.dir)
-user.documents
-user.documentslibrary
-user.downloads
-user.favorites
-user.libraries
-user.localappdata
-user.music
-user.personal
-user.pictures
-user.profile
-user.quicklaunch
-user.sendto
-user.startmenu
-user.temp
-user.templates
-user.videos
-
-
- diff --git a/docs/getstarted.cshtml b/docs/getstarted.cshtml deleted file mode 100644 index 1bed6ae..0000000 --- a/docs/getstarted.cshtml +++ /dev/null @@ -1,34 +0,0 @@ -@page -@{ - ViewData["title"] = "Getting started"; - ViewData["page-support"] = "Getting started"; -} -

Get Started

-
-

- This tutorial will teach you the basics of Shell.
- It is not necessary to have any prior experience. -

-

- To start using Shell, you need:
- A text editor, like Notepad, to write Shell code. -

-
Quickstart
-

Let's create our first menu item.

-

Open configuration file (shell.shl) and Write the following code and save.

-
shell
-{
-    dynamic
-    {
-        item(title='Hello, World!')
-    }
-}
-

Don't worry if you don't understand the code above - we will discuss it in detail in later chapters.

-

The result will look something for this when you press the right-click in an empty place on the desktop:

-
- - - -
- -

Congratulations You have now added the first time a menu item to the context menu

\ No newline at end of file diff --git a/docs/index.cshtml b/docs/index.cshtml deleted file mode 100644 index f8faf0e..0000000 --- a/docs/index.cshtml +++ /dev/null @@ -1,38 +0,0 @@ -@page -@{ -ViewData["title"] = "Introduction"; - ViewData["page-support"] = "Introduction"; -} -@*The home for Shell documentation and learning for users.*@ -

Introduction

-
-
What is Shell?
-

- Shell is a extensions of Windows File Explorer that can be used to create high-performance context menu items. - and gives user a high level of control over context menu of Windows File Explorer. -

-

The Right Click Menu or the Context Menu is the menu, which appears when you right-click on the desktop, file, folder or taskbar in Windows. This menu gives you added functionality by offering you actions you can take with the item

-

Shell is all you need to customize or add new items with several functions to Windows File Explorer Context menu and Much More.(cascade menus, advanced menus, multi-level menus, command menus, separator).

- -
- - - -
- -
Why Use Shell
- diff --git a/docs/installation.cshtml b/docs/installation.cshtml deleted file mode 100644 index 3a65ba4..0000000 --- a/docs/installation.cshtml +++ /dev/null @@ -1,57 +0,0 @@ -@page -@{ - ViewData["title"] = "Installation"; - ViewData["page-support"] = "Installation"; -} -

Installation

-
-

Download the release package and unzip its content in any location you want.

-@*

Open a command prompt with administrative permissions.

*@ -

Open an elevated command prompt.

- -
Command-Line Help

-shell -[options] -

-
Options
- - - - - - - - - - - - - - - - - - - - - - - - - -
-register (-r)Registering.
-unregister (-u)Unregistering.
-init (-i)Initialize images cache.
-restart (-re)Restart Windows Explorer.
-silent (-s)Prevents displaying messages.@*Silent, do not display any dialogue boxes*@
-?Dispay this help message.
- -
-
Intsall
- shell -register -init -
-
-
-
Unintsall
- shell -unregister -restart -
-

Tip: Close all instances of Windows File Explorer before uninstalling to avoid needing a reboot after it has been uninstalled.

-@*

-

How To Uninstall Shell installer

-

Shell installer can be fully removed from your system by using the standard Windows uninstall mechanism.

-

The way this is done depends on your version of Windows.

-*@ diff --git a/docs/syntax/default.cshtml b/docs/syntax/default.cshtml deleted file mode 100644 index 04795a5..0000000 --- a/docs/syntax/default.cshtml +++ /dev/null @@ -1,42 +0,0 @@ -@page -@{ - ViewData["title"] = "Default"; - ViewData["page-support"] = "Default"; -} -

Default

-

-

Default are containers for storing default values.

- -
shell 
-{
-    default
-    {
-        // view = auto, compact, small, medium, large, wide
-        view = view.compact
-        
-        // theme = auto, dark, light, white, black
-        theme = theme.black
-        
-        // text = [normal, hover, disabled]
-        text = [#ffffff, default, #808080]
-        
-        // block = [normal, hover, radius]
-        block = [#000, #444, 5]
-
-        // separator = [color, size]
-        separator = [#ff00ff, 1]
-        
-        // frame = [border color, border size]
-        frame = [#000, 3]
-        
-        // font = [size, font name]
-        font = [12, 'Brush Script']
-       
-        // Chevron, Check Mark, Radio Bullet
-        symbol = #ff0000
-       
-        // Enable/Disable drop shadow
-        shadow = false
-    }
-}
- diff --git a/docs/syntax/dynamic.cshtml b/docs/syntax/dynamic.cshtml deleted file mode 100644 index 0b04acf..0000000 --- a/docs/syntax/dynamic.cshtml +++ /dev/null @@ -1,394 +0,0 @@ -@page -@{ - ViewData["title"] = "Dynamic Items"; - ViewData["page-support"] = "Dynamic"; -} -

Dynamic Items

-
-

This section adds new menu items to the context menu.

-

Dynamic items have three types (menu, item, and separator). with properties to add new items with customization explained below in more details.
The types (menu and item) must contain the property title at least and their value cannot be null.
A separator-type item can be added without any properties.

-

In the following example, it shows how to write add an items to dynamic:

-
shell 
-{
-    dynamic
-    {
-        item(title = 'Hello, World!')
-        separtor
-        menu(title = 'sub menu' image = #0000ff)
-        {
-            item(title = 'test subitem')
-        }
-    }
-}
-
-
-

Properties

-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
PropertySummary
WhereAllow menu item to be passed if a true value is returned
- Default = true -
TitleSets a value indicating the caption of the menuitem.
-

This property must be included with menu and item if image propery is not defined, not required for separator.

- Default = null -

Required for menu, item.

-
ModeAccept item by selections behavior. Value have one of the following parameters: - - - - - - - - - - - - - - - - - - - - - -
NoneAccept item when there are no selections.
SingleAccept menuitem when there are single selection.
MultiUniqueAccept when multiple selections are single type.
MultiSingleAccept when multiple selections are single file extension.
MultipleAccept all types.
- Default = Single -

Required for menu, item, separator.

-
TypeSpecify the types of object files allowed for the menu item to appear. The property is assigned to one or more of these parameters and this character | is used to separate types.
- Add a character ~ before single type to exclude. -

The property not supported syntax expressions.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
FileAccept menuitem when file are selected.
Dirctory(Dir)Accept menuitem when Dirctory are selected.
DriveDrive objects
USBAccept menuitem when USB flash drive are selected.
DVDThe drive is a DVD-ROM drive
FixedAccept menuitem when Fixed drive are selected. The drive has fixed media; for example, a hard disk drive or flash drive.
VHDAccept menuitem when Virtual Hard Disk are selected.
RemovableThe drive has removable media; for example, a floppy drive, thumb drive, or flash card reader.
RemoteThe drive is a remote (network) drive.
BackAccept menu item when the background of all types are selected or can specify of this types for the background (back.directory, back.drive[back.fixed, back.usb, back.dvd, back.vhd, back.Removable], back.namespace[back.computer, back.recyclebin]) -
DesktopAccept menuitem when the Desktop are selected.
NamespaceAccept menuitem when Namespace are selected. Can be virtual objects such as the My Network Places and Recycle Bin.
ComputerAccept menuitem when the My Computer are selected.
RecyclebinAccept menuitem when the Recycle bin are selected.
TaskbarAccept menuitem when the Taskbar are selected.
- Default = All types -

Required for menu, item, separator.

-
Visibility (vis)Visibility of menuitem and can have one of the following parameters: - - - - - - - - - - - - - - - - - - - - - - - - - -
HiddenThem menuitem will not be displayed.
NormalEnabled the menuitem.
DisableDisabled the menuitem.
ExtendedThe menuitem appears when the Shift key is pressed.
ExtendedHiddenThe item appears disabled when the Shift key is pressed.
ExtendedDisableHide the menuitem when the Shift key is pressed.
- Default = Noraml -

Required for menu, item, separator.

-
Find -

Accept menuitem when the specified path name or path extension is contains or equal to the current find property.
Use this delimiter | to separate patterns.

- Default = null -

Required for menu, item, separator.

-
Separator (sep)Add separator with menuitem position by parameters: - - - - - - - - - - - - - - - - - -
NoneNot adding a separator with the menuitem.
BeforeAdd a separator before the menuitem.
AfterAdd a separator after the menuitem.
BothAdd a separator before and after the menuitem.
- Default = none -

Required for menu, item.

-
Position (pos)The position at which a menuitem should be inserted into the menu.
Position can have one of the following parameters: - - - - - - - - - - - - - - - - - - - - - -
AutoInsert the menuitem to the current position.
MiddleInsert the menuitem to the middle of the menu.
TopInsert the menuitem to the top of the menu.
BottomInsert the menuitem to the bottom of the menu.
Number setsInsert the menuitem to a specified position with integer numbers.
- Default = auto -

Required for menu, item, separator.

-
ImageThe icon that appears in a menuitem, This property can be assigned as image files, resource icons, glyph or color. With one of the following parameters - - - - - - - - - - - - - - - - - - - - - - - - - -
nullShow menuitem without icon.
Inherit@*Inheriting the image from the parent.*@ - Inherits this property from its parent element.
CmdAssign image from the command property.
GlyphAssign image as Glyph.
ColorAssign image as color.
PathAssign image from location path or resource icon.
- Default = null -

Required for menu, item.

-
Parent

Move current item to another menu.

- Default = null
Command (cmd)

The command associated with the menuitem. Occurs when the menuitem is clicked or selected using a shortcut key or access key defined for the menuitem.

- Default = null -

Required for item.

-
Arguments (arg, args)

The parameter to pass to the Command property of a menuitem.

- Default = null -

Required for item.

-
WindowControls how the window is to be shown. can be one of the following parameters: -

Hidden, Show, Visible, Minimized, Maximized

- Default = show -

Required for item.

-
Directory (dir)

Specify the work directory to execute the command.

- Default = null -

Required for item.

admin

Execute the command with administrative permissions.

- Default = false -

Required for item.

-
VerbSpecifies that the operation is the default for the selected file. value type string and can have one of the following parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
nullSpecifies that the operation is the default for the selected file type.
OpenOpens a file or a application.
OpenAsOpener dialog when no program is associated to the extension.
RunAsIn Windows 7 and Vista, opens the UAC dialog andin others, open the Run as... Dialog.
EditOpens the default text editor for the file.
ExploreOpens the Windows Explorer in the folder specified in Directory.
PropertiesOpens the properties window of the file.
PrintStart printing the file with the default application.
FindStart a search.
- Default = open -

Required for item.

-
Wait -

Waiting Until end of command.

- Default = false -

Required for item.

-
Checked

Value that indicates whether the menuitem is checked.

- Default = false -

Required for item.

-
Default -

Specifies that the menuitem is the default. A menu can contain only one default menuitem, which is displayed in bold.

- Default = false -

Required for item.

-
Column(col)

Create a new column.

- Default = true -

Required for item, menu.

-
-
diff --git a/docs/syntax/index.cshtml b/docs/syntax/index.cshtml deleted file mode 100644 index d763d0b..0000000 --- a/docs/syntax/index.cshtml +++ /dev/null @@ -1,136 +0,0 @@ -@page -@{ - ViewData["title"] = "Syntax"; - ViewData["page-support"] = "Syntax"; -} -

Syntax Rules for Configuration Files

-
-

This chapter describes the syntax rules for configuration file.

- -

Tip: When there is an error, it is recorded in the log file (shell.log).

- -@*

You can place any number of varabiles in an menu. -varabiles can be placed in the var, or in the dynamic body section of an menu, or in both.

*@ - -

The following rules apply to the syntax of configuration file (shell.shl):

-
shell.shl structure
-
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')
-    }
-}
-@*
-
Example
-
shell 
-{
-     var
-    {
-        hello_world = 'Hello World!'
-    }
-	
-    static
-    {
-        // remove items
-        item(find='restore' vis=hidden)
-        item(find='give access to' vis=hidden)
-
-        // show only on extended with shift key
-        item(find='send to' vis=extended)
-        item(find='new' vis=extended)
-
-        // remove or extend multiple items by one line
-        item(find='delete|format|rename|paste' vis=extended)
-        
-        // change title
-        item(find='defender' title='Scan with Defender')
-		
-        // change image
-        item(find='copy' image=#dd0000)
-        
-        // change image, title
-        item(find='open with' image=#dd0000 title='Open...')
-    }
-	
-    dynamic
-    {
-	  item(title=@@hello_world cmd=@@msg(hello_world))
-	  separator
-	  item(title='Command prompt' cmd='cmd.exe' args='/k echo @@hello_world')
-	  separator
-	  menu(title='Sub menu')
-	  {
-	      item(title='Open Paint' cmd='paint.exe' arg=@@sel.path)
-	      separator
-	      item(title='Open Notepad' cmd='notepad.exe' arg='"@@sel.path"')
-	  }
-    }
-}
-
- - - -
*@ diff --git a/docs/syntax/static.cshtml b/docs/syntax/static.cshtml deleted file mode 100644 index 12a0be5..0000000 --- a/docs/syntax/static.cshtml +++ /dev/null @@ -1,204 +0,0 @@ -@page -@{ -ViewData["title"] = "Static Items"; - ViewData["page-support"] = "Static"; -} -

Static Items

-
-

This section modifies context menu items added by the system or by a third party. more than one item can be added with some properties to customize the context menu. explained below in more details.
The items must have the property find. to search in the titles of the menu items to catches them and customize by other properties such as changing the title, icon, visibility, or moving it to another location.

-

In the following example, it shows how to write add an items to static:

-
shell 
-{
-    static
-    {
-        item(find = 'copy' image = #00ff00)
-        item(find = 'paste' image = #0000ff)
-    }
-}
-
-
-

Properties

-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
PropertySummary
WhereAllow menu item to be passed if a true value is returned
- Default = true -
FindAccept menuitem when the specific menuitem title is contains or equal to the current find property.
Use this delimiter | to separate patterns. -

This property must be included with another property at least if where property is not defined.

- Default = null -
Title -

Change value indicating the caption of the menuitem.

- Default = null -
ModeAccept item by selections behavior. Value have one of the following parameters: - - - - - - - - - - - - - - - - - - - - - -
NoneAccept item when there are no selections.
SingleAccept menuitem when there are single selection.
MultiUniqueAccept when multiple selections are single type.
MultiSingleAccept when multiple selections are single file extension.
MultipleAccept all types.
- Default = single -
Visibility (vis)Visibility of menuitem and can have one of the following parameters:. - - - - - - - - - - - - - - - - - - - - - - - - - -
HiddenHide the menuitem.
NormalEnabled the menuitem.
DisableDisabled the menuitem.
ExtendedThe menuitem appears when the Shift key is pressed.
ExtendedHiddenHide the menuitem when the Shift key is pressed.
ExtendedDisableThe item appears disabled when the Shift key is pressed.
- Default = normal -
Position (pos)The position at which a menuitem should be inserted into the menu.
Position can have one of the following parameters: - - - - - - - - - - - - - - - - - - - - - -
AutoInsert the menuitem to the current position.
MiddleInsert the menuitem to the middle of the menu.
TopInsert the menuitem to the top of the menu.
BottomInsert the menuitem to the bottom of the menu.
Number setsInsert the menuitem to a specified position with integer numbers.
- Default = auto -
Separator (sep)Add separator with menuitem position by parameters: - - - - - - - - - - - - - - - - - -
NoneNot adding a separator with the menuitem.
BeforeAdd a separator before the menuitem.
AfterAdd a separator after the menuitem.
BothAdd a separator before and after the menuitem.
- Default = none -
ImageThe icon that appears in a menuitem, This property can be assigned as image files, resource icons, glyph or color. With one of the following parameters - - - - - - - - - - - - - - - - - - - - - -
NullShow menuitem without icon.
InheritInheriting the image from the parent.
GlyphAssign image as Glyph.
ColorAssign image as color.
PathAssign image from location path or resource icon.
- Default = null -
Parent

Move current menu item(s) to another menu.

- Default = null
Default -

Specifies that the menuitem is the default. A menu can contain only one default menuitem, which is displayed in bold.

- Default = false -
-
diff --git a/docs/syntax/variables.cshtml b/docs/syntax/variables.cshtml deleted file mode 100644 index 127cc55..0000000 --- a/docs/syntax/variables.cshtml +++ /dev/null @@ -1,51 +0,0 @@ -@page -@{ - ViewData["title"] = "Variables"; - ViewData["page-support"] = "Variables"; -} -

Variables

-
-

Variables are containers for storing data values.

- -

The general rules for constructing names for variables (unique identifiers) are:

- -

- All variables must be identified with unique names.
- These unique names are called identifiers. - Identifiers can be short names (like x and y) or more descriptive names (age, sum, totalVolume). -

-

Note: It is recommended to use descriptive names in order to create understandable and maintainable code

-
Example
-
shell 
-{
-    var
-    {
-        hello_world = 'Hello World!'
-        test_add1 = 5 + 6
-    }
-	
-    dynamic
-    {
-	  item(title = @@hello_world cmd = @@msg(hello_world))
-
-	  menu(title = @@test_add1)
-	  {
-	      var
-	      {
-	          test_sub1 = 11 - 5
-	      }
-	      
-	      item(title = @@test_sub1)
-	  }
-    }
-}
-