Platform specific keyboard bindings, for Windows and Mac OS X.
Note: If you assign key bindings to your plug-in, you need to specify an applicationMenu menuAssignment
<action>
<keyBindings>...</keyBindings>
</action>
Key bindings are not required. When you do assign key bindings, make sure that two keyBinding elements are added, one with os="MacOSX" and the other with os="Windows".
Tip: Check if your key binding is not already used by one of the standard menu items, otherwise it will be ignored.
Parameters
os |
Operating System the key binding applies to, possible values:
Required. |
key |
The key part of the key binding. Required. |
modifiers |
Comma separated list of modifier keys. When this parameter is not specified, no modifiers will be used. The available valid modifiers are:
Optional. |
Examples
<keyBindings>
<keyBinding os="MacOSX" key="f" modifiers="CMD">
<keyBinding os="Windows" key="f" modifiers="CTRL">
</keyBindings>
<keyBindings>
<keyBinding os="MacOSX" key="f" modifiers="CMD,SHIFT">
<keyBinding os="Windows" key="f" modifiers="CTRL,SHIFT">
</keyBindings>
<keyBindings>
<keyBinding os="MacOSX" key="=" modifiers="CMD,CTRL,ALT,SHIFT">
<keyBinding os="Windows" key="-" modifiers="SHIFT,CTRL">
</keyBindings>
Comment
Do you have corrections or additional information about this article? Leave a comment! Do you have a question about what is described in this article? Please contact Support.
0 comments
Please sign in to leave a comment.