The keyBindings setting is one of the settings of an Action plug-in that can be configured in its configuration file. For more information, see Elvis 6 Action plug-ins - configuration settings.
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.
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.
Operating System the key binding applies to, possible values:
The key part of the key binding.
Comma separated list of modifier keys. When this parameter is not specified, no modifiers will be used. The available valid modifiers are:
<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>
- 18 February 2021: Updated the code in Basic Setting by adding the <keybinding> parameter.
- 18 February 2021: Corrected the examples by adding a forward slash to the ending of the <keybinding> parameter.
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.
Please sign in to leave a comment.