mirror of
https://github.com/moudey/Shell.git
synced 2026-11-16 09:04:25 +08:00
16 lines
707 B
HTML
16 lines
707 B
HTML
<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>
|
|
<pre><code class="lang-shell">shell
|
|
{
|
|
static
|
|
{
|
|
item(find = 'copy'image = #00ff00)
|
|
item(find = 'paste' image = #0000ff)
|
|
}
|
|
}</code></pre>
|