commandeditor

Last updated 6 months ago

Functions to control and manage Apple's Command Editor - used in Final Cut Pro, Motion and Compressor.

API Overview

API Documentation

Variables

padKeys

Signature

cp.apple.commandeditor.padKeys -> table

Type

Variable

Description

Table of Pad Keys

Functions

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