diff --git a/docs/Functions/Msg.cshtml b/docs/Functions/Msg.cshtml index 52c0c70..572cff0 100644 --- a/docs/Functions/Msg.cshtml +++ b/docs/Functions/Msg.cshtml @@ -114,4 +114,13 @@ If the function succeeds, the return value is one of the following values:
msg("Hello, Warld!","NileSoft Shell", msg.info | msg.ok)
msg("Hello, Warld!","NileSoft Shell")
-msg("Hello, Warld!")
\ No newline at end of file
+msg("Hello, Warld!")
+Plays a waveform sound. The waveform sound for each sound type is identified by an entry in the registry.
+Syntax
+sys.beepsys.beep(msg.error)sys.beep(msg.warning)
+path.getknownfolder('{905e63b6-c1bf-494e-b29c-65b732d3d21a}')
+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"
+Returns a character from a specific location in the string.
-Syntax
-str.get("Hello World!", 7)
-Sets a character with a specific location in the string.
-Syntax
-str.set("Hello World!", 6, '-')
-Returns a value indicating whether a specified substring occurs within this string.
-Syntax
-str.contains("Hello World!", 'World')
-Tests whether the string contains characters.
-Syntax
-str.empty("")
-Checks whether the string starts with the specified prefix.
-Syntax
-str.start("Hello World!", "World!")
-Checks whether the string ends with the specified suffix.
-Syntax
-str.end("Hello World!", "World!")
-Determines whether two String have the same value.
-Syntax
-str.equals("Hello World!", "Hello World!")
-Determine if two strings do not have the same value.
-Syntax
-str.not("Hello World!", "Hello-World!")
-Gets the number of characters in the current string.
-Syntax
-str.length("Hello World!")
-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!")
-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")
-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!", "!")
-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")
-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")
-Returns a copy of this string converted to lowercase.
-Syntax
-str.lower("Hello World!")
-Returns a copy of this string converted to uppercase.
-Syntax
-str.upper("Hello World!")
-Extracts the left part of a string.
-Syntax
-str.left("Hello World!", 5)
-Extracts the right part of a string.
-Syntax
-str.right("Hello World!", 5)
-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)
-Removes an element or a range of elements in a string from a specified position.
-Syntax
-str.remove("Hello World!", " ")str.remove("Hello World!", 5, 1)
-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")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!", "*")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!", "*")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!", "*")Formats the string as sprintf does.
-Syntax
-str.format("Hello %s!", "World")Returns a character from a specific location in the string.
+Syntax
+str.get("Hello World!", 7)
+Sets a character with a specific location in the string.
+Syntax
+str.set("Hello World!", 6, '-')
+Returns a value indicating whether a specified substring occurs within this string.
+Syntax
+str.contains("Hello World!", 'World')
+Tests whether the string contains characters.
+Syntax
+str.empty("")
+Checks whether the string starts with the specified prefix.
+Syntax
+str.start("Hello World!", "World!")
+Checks whether the string ends with the specified suffix.
+Syntax
+str.end("Hello World!", "World!")
+Determines whether two String have the same value.
+Syntax
+str.equals("Hello World!", "Hello World!")
+Determine if two strings do not have the same value.
+Syntax
+str.not("Hello World!", "Hello-World!")
+Gets the number of characters in the current string.
+Syntax
+str.length("Hello World!")
+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!")
+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")
+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!", "!")
+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")
+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")
+Returns a copy of this string converted to lowercase.
+Syntax
+str.lower("Hello World!")
+Returns a copy of this string converted to uppercase.
+Syntax
+str.upper("Hello World!")
+Extracts the left part of a string.
+Syntax
+str.left("Hello World!", 5)
+Extracts the right part of a string.
+Syntax
+str.right("Hello World!", 5)
+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)
+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)
+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)
+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)
+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)
+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)
+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) Returns a new capitalize string
+Syntax
+str.capitalize('hello world') return "Hello World" 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" Formats the string as sprintf does.
+Syntax
+str.format("Hello %s!", "World")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
-sys.beep
+
diff --git a/docs/Syntax/Dynamic.cshtml b/docs/Syntax/Dynamic.cshtml
index 63282f3..0b04acf 100644
--- a/docs/Syntax/Dynamic.cshtml
+++ b/docs/Syntax/Dynamic.cshtml
@@ -32,10 +32,16 @@
+ This property must be included with menu and item, not required for separator.
+This property must be included with menu and item if image propery is not defined, not required for separator.
Default = nullRequired for menu, item.
Required for item.
Create a new column.
+ Default = true +Required for item, menu.
+The title property must include at least the following types of (menu or item).
=) sign are optional and are ignored.( ).| to separate patterns.
- This property must be included with another property at least.
+This property must be included with another property at least if where property is not defined.
Default = nullDefault 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/_DocsLayout.cshtml b/docs/_DocsLayout.cshtml
index f90ab33..3551d08 100644
--- a/docs/_DocsLayout.cshtml
+++ b/docs/_DocsLayout.cshtml
@@ -21,6 +21,7 @@
Items = new TreeListItem[]
{
new TreeListItem { Title = "Variables", Link= "variables" },
+ new TreeListItem { Title = "default", Link = "default" },
new TreeListItem { Title = "Static", Link = "static" },
new TreeListItem { Title = "Dynamic", Link = "dynamic" }
}