docs » cp.apple.commandeditor
Functions to control and manage Apple's Command Editor - used in Final Cut Pro, Motion and Compressor.
- Variables - Configurable values
- padKeys
- Functions - API calls offered directly by the extension
- characterStringToKeyCode
- keypadCharacterToKeyCode
- modifierMaskToModifiers
- modifierMatch
- shortcutsFromCommandSet
- translateModifiers
| Signature | cp.apple.commandeditor.padKeys -> table |
|---|---|
| Type | Variable |
| Description | Table of Pad Keys |
| Signature | cp.apple.commandeditor.characterStringToKeyCode() -> string |
|---|---|
| Type | Function |
| Description | Translate Keyboard Character Strings from Command Set Format into Hammerspoon Format. |
| Parameters |
|
| Returns |
|
| Signature | cp.apple.commandeditor.keypadCharacterToKeyCode() -> string |
|---|---|
| Type | Function |
| Description | Translate Keyboard Keypad Character Strings from Command Set Format into Hammerspoon Format. |
| Parameters |
|
| Returns |
|
| Signature | cp.apple.commandeditor.modifierMaskToModifiers() -> table |
|---|---|
| Type | Function |
| Description | Translate Keyboard Modifiers from Apple's Property List Format into Hammerspoon Format. |
| Parameters |
|
| Returns |
|
| Signature | cp.apple.commandeditor.modifierMatch(inputA, inputB) -> boolean |
|---|---|
| Type | Function |
| Description | Compares two modifier tables. |
| Parameters |
|
| Returns |
|
| Notes |
|
| Signature | cp.apple.commandeditor.shortcutsFromCommandSet(id, commandSet) -> table |
|---|---|
| Type | Function |
| Description | Gets a specific command from a specified Command Set and returns a table of Shortcuts. |
| Parameters |
|
| Returns |
|
| Signature | cp.apple.commandeditor.translateModifiers() -> table |
|---|---|
| Type | Function |
| Description | Translate Keyboard Modifiers from Command Set Format into Hammerspoon Format. |
| Parameters |
|
| Returns |
|