mirror of
https://github.com/moudey/Shell.git
synced 2026-11-16 09:04:25 +08:00
update to version 1.6
This commit is contained in:
1 parent
5ae6f3f30a
commit
2c5dbf1e07
1 file changed
+26
-1
+26
-1
@@ -1,4 +1,4 @@
|
||||
<h4>Static Items</h4>
|
||||
<h4>Static Items</h4>
|
||||
<br>
|
||||
<p>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.<br>The items must have the property <code>find</code>. 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.</p>
|
||||
<p>In the following example, it shows how to write add an items to static:</p>
|
||||
@@ -33,6 +33,18 @@
|
||||
<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 if where property is not defined.</p>
|
||||
Default = <span class="syntax-keyword">null</span>
|
||||
<h3>Syntax</h5>
|
||||
find = 'undo' Find any word contains "undo"<br>
|
||||
find = '"undo"' Match whole word only<br>
|
||||
find = '*undo' Find a word that ends with<br>
|
||||
find = 'undo*' Find a word that starts with<br>
|
||||
<br>
|
||||
find = '!undo' Find any word not contains "undo"<br>
|
||||
find = '!"undo"' Search for any word not equal to "undo"<br>
|
||||
find = '!*undo' Find a word that not ends with<br>
|
||||
find = 'undo*!' Find a word that starts with<br>
|
||||
<br>
|
||||
find = 'undo delete|undo copy' Find an equal title for "undo delete" or "undo copy"
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
@@ -192,6 +204,19 @@
|
||||
<td><p>Show keyboard shortcuts.</p>
|
||||
Default = <span class="syntax-keyword">null</span></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Tip</td>
|
||||
<td>
|
||||
<p>Show a tip for the current item</p>
|
||||
Default = <span class="syntax-keyword">null</span><br/>
|
||||
Syntax <br/>
|
||||
<pre class="syntax"><code>
|
||||
tip = "Lorem Ipsum is simply dummy text."
|
||||
tip = ["Lorem Ipsum is simply dummy text.", <span class="syntax-keyword">tip.info</span>]
|
||||
tip = ["Lorem Ipsum is simply dummy text.", <span class="syntax-keyword">tip.info</span>, <span class="syntax-number">1.2</span>]
|
||||
</code></pre>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Default</td>
|
||||
<td>
|
||||
|
||||
Reference in new issue
Block a user