mirror of
https://github.com/moudey/Shell.git
synced 2026-11-16 09:04:25 +08:00
Add files via upload
This commit is contained in:
1 parent
3e5acbe501
commit
9229e71a46
9 files changed
+301
-181
No files matched your search
@@ -114,4 +114,13 @@ If the function succeeds, the return value is one of the following values:
|
||||
<h5>Examples</h5>
|
||||
<pre class="syntax"><code>msg("Hello, Warld!","NileSoft Shell", msg.info | msg.ok)<br>
|
||||
msg("Hello, Warld!","NileSoft Shell")<br>
|
||||
msg("Hello, Warld!")</code></pre>
|
||||
msg("Hello, Warld!")</code></pre>
|
||||
<br><br>
|
||||
<section class="my-5">
|
||||
<h5>msg.beep(type)</h5>
|
||||
<p>Plays a waveform sound. The waveform sound for each sound type is identified by an entry in the registry.</p>
|
||||
<p>Syntax</p>
|
||||
<code>sys.beep</code><br>
|
||||
<code>sys.beep(msg.error)</code><br>
|
||||
<code>sys.beep(msg.warning)</code>
|
||||
</section>
|
||||
@@ -179,4 +179,12 @@
|
||||
<code>path.getknownfolder('{905e63b6-c1bf-494e-b29c-65b732d3d21a}')</code>
|
||||
</section>
|
||||
|
||||
<section class="my-5">
|
||||
<h5>path.separator(path.sep)</h5>
|
||||
<p>Replacing the back slash with a forward slash or defining a spacer.</p>
|
||||
<p>Syntax</p>
|
||||
<code>path.separator('c:\windows\system32')</code> <em>return "c:/windows/system32"</em><br>
|
||||
<code>path.separator('c:\windows\system32', '#')</code> <em>return "c:#windows#system32"</em>
|
||||
</section>
|
||||
|
||||
|
||||
+202
-176
File diff suppressed because it is too large.
Load diff
@@ -99,8 +99,15 @@ sys.users
|
||||
sys.wow</code></pre>
|
||||
</section>
|
||||
|
||||
<section class="my-5">
|
||||
<h5>sys.beep(milliseconds)</h5>
|
||||
<p>Suspends the execution of the current thread until the time-out interval elapses.</p>
|
||||
<p>Syntax</p>
|
||||
<code>sys.sleep(1000)</code>
|
||||
</section>
|
||||
|
||||
<pre><code>@*sys.copy
|
||||
sys.extended*@
|
||||
sys.toggleext
|
||||
sys.togglehidden
|
||||
sys.beep</code></pre>
|
||||
</code></pre>
|
||||
@@ -32,10 +32,16 @@
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>Where</td>
|
||||
<td>Allow menu item to be passed if a true value is returned<br>
|
||||
Default = <span class="syntax-keyword">true</span>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Title</td>
|
||||
<td>Sets a value indicating the caption of the menuitem.<br/>
|
||||
<p class="text-danger">This property must be included with menu and item, not required for separator.</p>
|
||||
<p class="text-danger">This property must be included with menu and item if image propery is not defined, not required for separator.</p>
|
||||
Default = <span class="syntax-keyword">null</span>
|
||||
<p class="syntax-prop">Required for menu, item.</p>
|
||||
</td>
|
||||
@@ -377,7 +383,12 @@
|
||||
<p class="syntax-prop">Required for item.</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Column(col)</td>
|
||||
<td><p>Create a new column.</p>
|
||||
Default = <span class="syntax-keyword">true</span>
|
||||
<p class="syntax-prop">Required for item, menu.</p>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<p>The <code>title</code> property must include at least the following types of (menu or item).</p>
|
||||
@@ -10,6 +10,8 @@
|
||||
<li>Syntax are not case sensitive.</li>
|
||||
<li>Spaces around the equal (<code>=</code>) sign are optional and are ignored.</li>
|
||||
<li>The properties of static and dynamic items are separated by blank spaces or on a separate line and must be placed in parentheses <code>( )</code>.</li>
|
||||
<li>variable are optional.</li>
|
||||
<li>default are optional.</li>
|
||||
<li>Static items are optional.</li>
|
||||
<li>Static items have one type: item.</li>
|
||||
<li>Dynamic items are optional.</li>
|
||||
@@ -32,6 +34,14 @@ varabiles can be placed in the var, or in the dynamic body section of an menu, o
|
||||
...
|
||||
}
|
||||
|
||||
default
|
||||
{
|
||||
<span class="syntax-comment">// defaults content</span>
|
||||
default-name = default-value
|
||||
default-name = [default-value, default-value, ...]
|
||||
...
|
||||
}
|
||||
|
||||
<span class="syntax-comment">// static items</span>
|
||||
static
|
||||
{
|
||||
|
||||
@@ -27,10 +27,16 @@ ViewData["title"] = "Static Items";
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>Where</td>
|
||||
<td>Allow menu item to be passed if a true value is returned<br>
|
||||
Default = <span class="syntax-keyword">true</span>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Find</td>
|
||||
<td>Accept menuitem when the specific menuitem title is contains or equal to the current find property.<br>Use this delimiter <code>|</code> to separate patterns.
|
||||
<p class="has-text-danger">This property must be included with another property at least.</p>
|
||||
<p class="has-text-danger">This property must be included with another property at least if where property is not defined.</p>
|
||||
Default = <span class="syntax-keyword">null</span>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
@@ -0,0 +1,42 @@
|
||||
@page
|
||||
@{
|
||||
ViewData["title"] = "Default";
|
||||
ViewData["page-support"] = "Default";
|
||||
}
|
||||
<h4>Default</h4>
|
||||
<br><br>
|
||||
<p>Default are containers for storing default values.</p>
|
||||
|
||||
<pre class="syntax"><code>shell
|
||||
{
|
||||
default
|
||||
{
|
||||
<span class="syntax-comment">// view = auto, compact, small, medium, large, wide</span>
|
||||
view = <span class="syntax-code">view.compact</span>
|
||||
|
||||
<span class="syntax-comment">// theme = auto, dark, light, white, black</span>
|
||||
theme = <span class="syntax-code">theme.black</span>
|
||||
|
||||
<span class="syntax-comment">// text = [normal, hover, disabled]</span>
|
||||
text = [<span class="syntax-number">#ffffff</span>, <span class="syntax-keywor">default</span>, <span class="syntax-number">#808080</span>]
|
||||
|
||||
<span class="syntax-comment">// block = [normal, hover, radius]</span>
|
||||
block = [<span class="syntax-number">#000</span>, <span class="syntax-number">#444</span>, <span class="syntax-number">5</span>]
|
||||
|
||||
<span class="syntax-comment">// separator = [color, size]</span>
|
||||
separator = [<span class="syntax-number">#ff00ff</span>, <span class="syntax-number">1</span>]
|
||||
|
||||
<span class="syntax-comment">// frame = [border color, border size]</span>
|
||||
frame = [<span class="syntax-number">#000</span>, <span class="syntax-number">3</span>]
|
||||
|
||||
<span class="syntax-comment">// font = [size, font name]</span>
|
||||
font = [<span class="syntax-number">12</span>, <span class="syntax-string">'Brush Script'</span>]
|
||||
|
||||
<span class="syntax-comment">// Chevron, Check Mark, Radio Bullet</span>
|
||||
symbol = <span class="syntax-number">#ff0000</span>
|
||||
|
||||
<span class="syntax-comment">// Enable/Disable drop shadow</span>
|
||||
shadow = <span class="syntax-number">false</span>
|
||||
}
|
||||
}</code></pre>
|
||||
|
||||
@@ -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" }
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user