diff --git a/docs/syntax/static.html b/docs/syntax/static.html index 7b885c3..133c1ab 100644 --- a/docs/syntax/static.html +++ b/docs/syntax/static.html @@ -1,6 +1,9 @@

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.

+

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 
 {
@@ -16,12 +19,12 @@
 
- - - - - - + + + + + + - - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + @@ -290,20 +306,20 @@ find = 'undo delete|undo copy' Find an equal title for "undo delete" or "undo co + Default = null + Default = null - +
PropertySummary
PropertySummary
Where Allow menu item to be passed if a true value is returned
@@ -30,241 +33,254 @@
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.

+
Accept 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 -
-
Syntax
-find = 'undo' Find any word contains "undo"
-find = '"undo"' Match whole word only
-find = '*undo' Find a word that ends with
-find = 'undo*' Find a word that starts with
-
-find = '!undo' Find any word not contains "undo"
-find = '!"undo"' Search for any word not equal to "undo"
-find = '!*undo' Find a word that not ends with
-find = 'undo*!' Find a word that starts with
-
-find = 'undo delete|undo copy' Find an equal title for "undo delete" or "undo copy" +
+
Syntax
+ find = 'undo' Find any word contains "undo"
+ find = '"undo"' Match whole word only
+ find = '*undo' Find a word that ends with
+ find = 'undo*' Find a word that starts with
+
+ find = '!undo' Find any word not contains "undo"
+ find = '!"undo"' Search for any word not equal to "undo"
+ find = '!*undo' Find a word that not ends with
+ find = 'undo*!' Find a word that starts with
+
+ find = 'undo delete|undo copy' Find an equal title for "undo delete" or "undo copy"
In -

Determine the path of the menu being searched.

- Default = null -
In +

Determine the path of the menu being searched.

+ Default = null +
Title -

Change value indicating the caption of the menuitem.

- 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.
multi_uniqueAccept when multiple selections are single type.
multi_singleAccept when multiple selections are single file extension.
multipleAccept all types.
- Default = multiple -
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.
multi_uniqueAccept when multiple selections are single type.
multi_singleAccept when multiple selections are single file extension.
multipleAccept all types.
+ Default = multiple +
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.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
*Accept menuitem when any type are selected.
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 = Accepts all types except for the taskbar. -

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.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
*Accept menuitem when any type are selected.
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 = Accepts all types except for the taskbar. +

Required for menu, item, separator.

+
Visibility (vis)Visibility of menuitem and can have one of the following parameters:. - - - - - - - - - - - - - -
HiddenHide the menuitem.
NormalEnabled the menuitem.
DisableDisabled the menuitem.
- Default = normal -
Visibility (vis)Visibility of menuitem and can have one of the following parameters:. + + + + + + + + + + + + + +
HiddenHide the menuitem.
NormalEnabled the menuitem.
DisableDisabled the menuitem.
+ 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 -
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.
Before, TopAdd a separator before the menuitem.
After, BottomAdd a separator after the menuitem.
BothAdd a separator before and after the menuitem.
- Default = none -
Separator (sep)Add separator with menuitem position by parameters: + + + + + + + + + + + + + + + + + +
NoneNot adding a separator with the menuitem.
Before, TopAdd a separator before the menuitem.
After, BottomAdd a separator after the menuitem.
BothAdd a separator before and after the menuitem.
+ Default = none +
Image, IconThe 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 -
Image, IconThe 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 +
Checked
Parent, Menu

Move current menu item(s) to another menu.

- Default = null
Keys

Show keyboard shortcuts.

- Default = null
Tip -

Show a tip for the current item

- Default = null
- Syntax
-

+				

Show a tip for the current item

+ Default = null
+ Syntax
+

 tip = "Lorem Ipsum is simply dummy text."
 tip = ["Lorem Ipsum is simply dummy text.", tip.info]
 tip = ["Lorem Ipsum is simply dummy text.", tip.info, 1.2]
@@ -313,10 +329,11 @@ tip = ["Lorem Ipsum is simply dummy text.", tip.info, 1.2]
 		
Default -

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

+

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

Default = false