docs » cp.apple.finalcutpro.main.KeywordEditor
Keyword Editor Module.
- Constants - Useful values which cannot be changed
- NUMBER_OF_SHORTCUTS
- Functions - API calls offered directly by the extension
- matches
- Constructors - API calls which return an object, typically one that offers API methods
- KeywordEditor
- Fields - Variables which can only be accessed from an object returned by a constructor
- isShowing
- keyboardShortcuts
- keywords
- resetButton
- shortcutButtons
- shortcutFields
- Methods - API calls which can only be made on an object returned by a constructor
- doHide
- doShow
- hide
- parent
- show
| Signature | cp.apple.finalcutpro.main.KeywordEditor.NUMBER_OF_SHORTCUTS -> number |
|---|---|
| Type | Constant |
| Description | The number of Keyword Keyboard shortcuts available. |
| Signature | cp.apple.finalcutpro.main.KeywordEditor.matches(element) -> boolean |
|---|---|
| Type | Function |
| Description | Checks to see if an hs._asm.axuielement object matches a Keyword Editor window |
| Parameters |
|
| Returns |
|
| Signature | cp.apple.finalcutpro.main.KeywordEditor(parent) -> KeywordEditor object |
|---|---|
| Type | Constructor |
| Description | Creates a new KeywordEditor object |
| Parameters |
|
| Returns |
|
| Signature | cp.apple.finalcutpro.main.KeywordEditor.isShowing <cp.prop: boolean; live?> |
|---|---|
| Type | Field |
| Description | Indicates whether or not the Keyword Editor is currently showing. |
| Signature | cp.apple.finalcutpro.main.KeywordEditor.keyboardShortcuts <cp.ui.DisclosureWindow> |
|---|---|
| Type | Field |
| Description | The DisclosureTriangle that shows/hides the keyboard shortcuts configuration. |
| Signature | cp.apple.finalcutpro.main.KeywordEditor.keywords <cp.ui.TextField> |
|---|---|
| Type | Field |
| Description | A TextField that contains the current keywords. The value is a table of string values for each individual keyword. |
| Signature | cp.apple.finalcutpro.main.KeywordEditor.resetButton <cp.ui.Button> |
|---|---|
| Type | Field |
| Description | The Button that resets the current keywords to blank. |
| Signature | cp.apple.finalcutpro.main.KeywordEditor.shortcutButtons <table of cp.ui.Button> |
|---|---|
| Type | Field |
| Description | The list of keyboard shortcut Buttons. The button for Cmd+1 is accessed via shortcutButtons[1], and so on. |
| Signature | cp.apple.finalcutpro.main.KeywordEditor.shortcutFields <table of KeywordField> |
|---|---|
| Type | Field |
| Description | The list of keyboard shortcut KeywordFields. The field for Cmd+1 is accessed via shortcutFields[1], and so on. |
| Signature | cp.apple.finalcutpro.main.KeywordEditor:doHide() -> cp.rx.go.Statement |
|---|---|
| Type | Method |
| Description | A Statement that hides the Keyword Editor. |
| Parameters |
|
| Returns |
|
| Signature | cp.apple.finalcutpro.main.KeywordEditor:doShow() -> cp.rx.go.Statement |
|---|---|
| Type | Method |
| Description | A Statement that shows the Keyword Editor. |
| Parameters |
|
| Returns |
|
| Signature | cp.apple.finalcutpro.main.KeywordEditor:hide() -> boolean |
|---|---|
| Type | Method |
| Description | Hides the Keyword Editor. |
| Parameters |
|
| Returns |
|
| Signature | cp.apple.finalcutpro.main.KeywordEditor:parent() -> table |
|---|---|
| Type | Method |
| Description | Returns the KeywordEditor's parent table |
| Parameters |
|
| Returns |
|
| Signature | cp.apple.finalcutpro.main.KeywordEditor:show() -> boolean |
|---|---|
| Type | Method |
| Description | Shows the Keyword Editor. |
| Parameters |
|
| Returns |
|