docs » cp.apple.finalcutpro.cmd.CommandEditor
Command Editor Module.
- Functions - API calls offered directly by the extension
- matches
- Constructors - API calls which return an object, typically one that offers API methods
- CommandEditor
- Fields - Variables which can only be accessed from an object returned by a constructor
- close
- save
- UI
- Methods - API calls which can only be made on an object returned by a constructor
- app
- doClose
- doSave
- doShow
- hide
- show
| 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 |
|
| Signature | cp.apple.finalcutpro.cmd.CommandEditor(app) -> CommandEditor |
|---|---|
| Type | Constructor |
| Description | Creates a new Command Editor object. |
| Parameters |
|
| Returns |
|
| Signature | cp.apple.finalcutpro.cmd.CommandEditor.close <cp.ui.Button> |
|---|---|
| Type | Field |
| Description | The "Close" Button. |
| Signature | cp.apple.finalcutpro.cmd.CommandEditor.save <cp.ui.Button> |
|---|---|
| Type | Field |
| Description | The "Save" Button. |
| Signature | cp.apple.finalcutpro.cmd.CommandEditor.UI <cp.prop: axuielement; read-only> |
|---|---|
| Type | Field |
| Description | The axuielement for the window. |
| Signature | cp.apple.finalcutpro.cmd.CommandEditor:app() -> App |
|---|---|
| Type | Method |
| Description | Returns the app instance representing Final Cut Pro. |
| Parameters |
|
| Returns |
|
| 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 |
|
| 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 |
|
| 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. |
| Parameters |
|
| Returns |
|
| Signature | cp.apple.finalcutpro.cmd.CommandEditor:hide() -> cp.apple.finalcutpro.cmd.CommandEditor |
|---|---|
| Type | Method |
| Description | Hides the Command Editor. |
| Parameters |
|
| Returns |
|
| Signature | cp.apple.finalcutpro.cmd.CommandEditor:show() -> cp.apple.finalcutpro.cmd.CommandEditor |
|---|---|
| Type | Method |
| Description | Shows the Command Editor. |
| Parameters |
|
| Returns |
|