#cp.apple.finalcutpro.cmd.CommandEditor
Command Editor Module.
#API Overview
Functions - API calls offered directly by the extension
Constructors - API calls which return an object, typically one that offers API methods
Fields - Variables which can only be accessed from an object returned by a constructor
- closeButton
- command
- commandDetail
- commandGroups
- commandList
- commands
- commandSet
- control
- keyboard
- keyboardToggle
- keyDetail
- modifiers
- option
- save
- search
- shift
- UI
Methods - API calls which can only be made on an object returned by a constructor
#API Documentation
#Functions
Signature | cp.apple.finalcutpro.cmd.CommandEditor.matches(element) -> boolean |
Type | Function |
Description | Checks to see if an element matches what we think it should be. |
Parameters |
|
Returns |
|
Notes | None |
Examples | None |
Source | src/extensions/cp/apple/finalcutpro/cmd/CommandEditor.lua line 36 |
#Constructors
Signature | cp.apple.finalcutpro.cmd.CommandEditor(app) -> CommandEditor |
Type | Constructor |
Description | Creates a new Command Editor object. |
Parameters |
|
Returns |
|
Notes | None |
Examples | None |
Source | src/extensions/cp/apple/finalcutpro/cmd/CommandEditor.lua line 61 |
#Fields
Signature | cp.apple.finalcutpro.cmd.CommandEditor.closeButton <cp.ui.Button> |
Type | Field |
Description | The "Close" Button. |
Notes | None |
Source | src/extensions/cp/apple/finalcutpro/cmd/CommandEditor.lua line 227 |
Signature | cp.apple.finalcutpro.cmd.CommandEditor.command <cp.ui.CheckBox> |
Type | Field |
Description | The "Command" CheckBox. |
Notes | None |
Source | src/extensions/cp/apple/finalcutpro/cmd/CommandEditor.lua line 254 |
Signature | cp.apple.finalcutpro.cmd.CommandEditor.commandDetail <cp.apple.finalcutpro.cmd.CommandDetail> |
Type | Field |
Description | The CommandDetail section. |
Notes | None |
Source | src/extensions/cp/apple/finalcutpro/cmd/CommandEditor.lua line 350 |
Signature | cp.apple.finalcutpro.cmd.CommandEditor.commandGroups <cp.apple.finalcutpro.cmd.CommandGroups> |
Type | Field |
Description | The CommandGroups. |
Notes | None |
Source | src/extensions/cp/apple/finalcutpro/cmd/CommandEditor.lua line 333 |
Signature | cp.apple.finalcutpro.cmd.CommandEditor.commandList <cp.apple.finalcutpro.cmd.CommandList> |
Type | Field |
Description | The CommandList. |
Notes | None |
Source | src/extensions/cp/apple/finalcutpro/cmd/CommandEditor.lua line 317 |
Signature | cp.apple.finalcutpro.cmd.CommandEditor.commands <cp.apple.finalcutpro.cmd.Commands> |
Type | Field |
Description | The Commands. |
Notes | None |
Source | src/extensions/cp/apple/finalcutpro/cmd/CommandEditor.lua line 326 |
Signature | cp.apple.finalcutpro.cmd.CommandEditor.commandSet <cp.ui.PopUpButton> |
Type | Field |
Description | The "Command Set" PopUpButton. |
Notes | None |
Source | src/extensions/cp/apple/finalcutpro/cmd/CommandEditor.lua line 236 |
Signature | cp.apple.finalcutpro.cmd.CommandEditor.control <cp.ui.CheckBox> |
Type | Field |
Description | The "Control" CheckBox. |
Notes | None |
Source | src/extensions/cp/apple/finalcutpro/cmd/CommandEditor.lua line 281 |
Signature | cp.apple.finalcutpro.cmd.CommandEditor.keyboard <cp.ui.Group> |
Type | Field |
Description | The Group containing the keyboard shortcuts. Does not seem to expose the actual key buttons. |
Notes | None |
Source | src/extensions/cp/apple/finalcutpro/cmd/CommandEditor.lua line 308 |
Signature | cp.apple.finalcutpro.cmd.CommandEditor.keyboardToggle <cp.ui.CheckBox> |
Type | Field |
Description | The "Keyboard Toggle" CheckBox (next to the Search field). |
Notes | None |
Source | src/extensions/cp/apple/finalcutpro/cmd/CommandEditor.lua line 290 |
Signature | cp.apple.finalcutpro.cmd.CommandEditor.keyDetail <cp.appple.finalcutpro.cmd.KeyDetail> |
Type | Field |
Description | The KeyDetail section. |
Notes | None |
Source | src/extensions/cp/apple/finalcutpro/cmd/CommandEditor.lua line 340 |
Signature | cp.apple.finalcutpro.cmd.CommandEditor.modifiers <cp.ui.Group> |
Type | Field |
Description | The Group containing 'modifier' checkboxes (Cmd, Shift, etc). |
Notes | None |
Source | src/extensions/cp/apple/finalcutpro/cmd/CommandEditor.lua line 245 |
Signature | cp.apple.finalcutpro.cmd.CommandEditor.option <cp.ui.CheckBox> |
Type | Field |
Description | The "Option" CheckBox. |
Notes | None |
Source | src/extensions/cp/apple/finalcutpro/cmd/CommandEditor.lua line 272 |
Signature | cp.apple.finalcutpro.cmd.CommandEditor.save <cp.ui.Button> |
Type | Field |
Description | The "Save" Button. |
Notes | None |
Source | src/extensions/cp/apple/finalcutpro/cmd/CommandEditor.lua line 218 |
Signature | cp.apple.finalcutpro.cmd.CommandEditor.search <cp.ui.TextField> |
Type | Field |
Description | The "Search" TextField. |
Notes | None |
Source | src/extensions/cp/apple/finalcutpro/cmd/CommandEditor.lua line 299 |
Signature | cp.apple.finalcutpro.cmd.CommandEditor.shift <cp.ui.CheckBox> |
Type | Field |
Description | The "Shift" CheckBox. |
Notes | None |
Source | src/extensions/cp/apple/finalcutpro/cmd/CommandEditor.lua line 263 |
Signature | cp.apple.finalcutpro.cmd.CommandEditor.UI <cp.prop: axuielement; read-only> |
Type | Field |
Description | The axuielement for the window. |
Notes | None |
Source | src/extensions/cp/apple/finalcutpro/cmd/CommandEditor.lua line 71 |
#Methods
Signature | cp.apple.finalcutpro.cmd.CommandEditor:app() -> App |
Type | Method |
Description | Returns the app instance representing Final Cut Pro. |
Parameters |
|
Returns |
|
Notes | None |
Examples | None |
Source | src/extensions/cp/apple/finalcutpro/cmd/CommandEditor.lua line 84 |
Signature | cp.apple.finalcutpro.cmd.CommandEditor:doClose() -> cp.rx.go.Statement <boolean> |
Type | Method |
Description | Returns a Statement that triggers the Close button in the Command Editor. |
Parameters |
|
Returns |
|
Notes | None |
Examples | None |
Source | src/extensions/cp/apple/finalcutpro/cmd/CommandEditor.lua line 203 |
Signature | cp.apple.finalcutpro.cmd.CommandEditor:doFindCommandID(commandID, [highlight]) -> cp.rx.go.Statement |
Type | Method |
Description | Returns a Statement that will find the command with the given ID, revealing it at the top of the commands list. |
Parameters |
|
Returns |
|
Notes | None |
Examples | None |
Source | src/extensions/cp/apple/finalcutpro/cmd/CommandEditor.lua line 383 |
Signature | cp.apple.finalcutpro.cmd.CommandEditor:doSave() -> cp.rx.go.Statement <boolean> |
Type | Method |
Description | Returns a Statement that triggers the Save button in the Command Editor. |
Parameters |
|
Returns |
|
Notes | None |
Examples | None |
Source | src/extensions/cp/apple/finalcutpro/cmd/CommandEditor.lua line 190 |
Signature | cp.apple.finalcutpro.cmd.CommandEditor:doShow() -> cp.rx.go.Statement <boolean> |
Type | Method |
Description | Creates a Statement that will attempt to hide the Command Editor, if FCPX is running. If the changes have not been saved, they will be lost. |
Parameters |
|
Returns |
|
Notes | None |
Examples | None |
Source | src/extensions/cp/apple/finalcutpro/cmd/CommandEditor.lua line 155 |
Signature | cp.apple.finalcutpro.cmd.CommandEditor:hide() -> cp.apple.finalcutpro.cmd.CommandEditor |
Type | Method |
Description | Hides the Command Editor. |
Parameters |
|
Returns |
|
Notes | None |
Examples | None |
Source | src/extensions/cp/apple/finalcutpro/cmd/CommandEditor.lua line 141 |
Signature | cp.apple.finalcutpro.cmd.CommandEditor:show() -> cp.apple.finalcutpro.cmd.CommandEditor |
Type | Method |
Description | Shows the Command Editor. |
Parameters |
|
Returns |
|
Notes | None |
Examples | None |
Source | src/extensions/cp/apple/finalcutpro/cmd/CommandEditor.lua line 97 |