Properties
Shell supports the following properties classes:Please also see the full index of available properties below.
Index
Syntax
Entry types
In the following tables, the Types column shows to which entry types the property applies to.
The following abbreviations are used (if set in bold, then the property is mandatory for the given type):
- mi
- modify item, i.e. the item entry itself. Is basically required to evaluate if the process instructions are applied to any given target.
- mt
- modify target, i.e. the menuitem of the existing menu to which the process instructions are applied
- nm
- new menu type
- ni
- new item type
- ns
- new separator type.
Validation Properties
Determine if a given Modify items or New items entry should be processed when a context menu is displayed.
Syntax
| Property | Types(*) | Summary | ||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Where | mi, nm, ni, ns | Process given menuitem if true is returned. Allows the evaluation of arbitrary
expressions, e.g. if().Default = true |
||||||||||||||||||||||||||||||||
| Mode | mi, nm, ni, ns | Display menuitem by type of selection. The value has one of the following
parameters
(of type string):
|
||||||||||||||||||||||||||||||||
| Type | mi, nm, ni, ns | Specifies the types of objects for which the menuitem will be displayed. Possible values are shown below. Separate multiple types with the pipe character ( |),
in
which case the menuitem is displayed if any of the given types is matched.To exclude a given type, prefix its value with the tilde character ( ~).
Expressions are not supported with this property.
|
Filter Properties
For Modify items entries only, filter properties determine if a given menuitem is a valid target for the process instructions
Syntax
| Property | Types(*) | Summary | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Find | nm, ni, ns |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| In | mi | Specifies the existing submenu where the modify target is located.
Syntax
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Menuitem Properties
This set of properties describe the appearance and location of a given menuitem. For modify-items, this is the target menuitem. For dynamic entries, this is the newly created menuitem.
- Appearance
- Location
Command Properties
This set of properties describe how a command is executed. Only available for dynamic items.
Syntax
| Property | Types(*) | Summary | ||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Command (cmd) | ni | The command associated with the menuitem. Occurs when the menuitem is clicked or selected using a shortcut key or access key defined for the menuitem. Default = null |
||||||||||||||||||
| Arguments (arg, args) | ni | The command line parameters to pass to the command property of a menuitem. Default = null |
||||||||||||||||||
| Invoke | ni | Set execution type
|
||||||||||||||||||
| Window | ni | Controls how the window of the executed command is to be shown. Can be one of the following
parameters:
|
||||||||||||||||||
| Directory (dir) | ni | Specifies the working directory to execute the command in. Default = null |
||||||||||||||||||
| Admin | ni | Execute the command with administrative permissions. Default = false |
||||||||||||||||||
| Verb | ni | Specifies the default operation for the selected file. Value type string
and can have one of the following parameters:
|
||||||||||||||||||
| Wait | ni |
Wait for the command to complete. Default = false |