#cp.apple.finalcutpro.workflowextensions.CommandPostWindow

The CommandPost Workflow Extension Window.


#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

Methods - API calls which can only be made on an object returned by a constructor


#API Documentation

#Functions

Signaturecp.apple.finalcutpro.workflowextensions.CommandPostWindow.matches(element) -> boolean
TypeFunction
DescriptionChecks to see if an element matches what we think it should be.
Parameters
  • element - An axuielementObject to check.
Returns
  • true if matches otherwise false
NotesNone
ExamplesNone
Sourcesrc/extensions/cp/apple/finalcutpro/workflowextensions/CommandPostWindow.lua line 27

#Constructors

Signaturecp.apple.finalcutpro.workflowextensions.CommandPostWindow(app) -> CommandPostWindow
TypeConstructor
DescriptionCreates a new CommandPost Workflow Extension window object.
Parameters
  • app - The cp.apple.finalcutpro object.
Returns
  • A new CommandPostWindow object.
NotesNone
ExamplesNone
Sourcesrc/extensions/cp/apple/finalcutpro/workflowextensions/CommandPostWindow.lua line 41

#Fields

Signaturecp.apple.finalcutpro.workflowextensions.CommandPostWindow.reloadButton <cp.ui.Button>
TypeField
DescriptionThe Reload Button within a stalled Workflow Extension.
NotesNone
Sourcesrc/extensions/cp/apple/finalcutpro/workflowextensions/CommandPostWindow.lua line 60

#Methods

Signaturecp.apple.finalcutpro.workflowextensions.CommandPostWindow:doHide() -> cp.rx.go.Statement
TypeMethod
DescriptionA Statement that attempts to hide the CommandPost Workflow Extension window.
Parameters
  • None
Returns
  • The Statement.
NotesNone
ExamplesNone
Sourcesrc/extensions/cp/apple/finalcutpro/workflowextensions/CommandPostWindow.lua line 162

Signaturecp.apple.finalcutpro.workflowextensions.CommandPostWindow:doShow() -> cp.rx.go.Statement
TypeMethod
DescriptionA Statement that attempts to show the CommandPost Workflow Extension window.
Parameters
  • None
Returns
  • The Statement.
NotesNone
ExamplesNone
Sourcesrc/extensions/cp/apple/finalcutpro/workflowextensions/CommandPostWindow.lua line 126

Signaturecp.apple.finalcutpro.workflowextensions.CommandPostWindow:hasStalled() -> boolean
TypeMethod
DescriptionHas the Workflow Extension stalled?
Parameters
  • None
Returns
  • true if stalled, otherwise false
NotesNone
ExamplesNone
Sourcesrc/extensions/cp/apple/finalcutpro/workflowextensions/CommandPostWindow.lua line 86

Signaturecp.apple.finalcutpro.workflowextensions.CommandPostWindow:hide() -> CommandPostWindow
TypeMethod
DescriptionAttempts to hide the CommandPost Workflow Extension window.
Parameters
  • None
Returns
  • The same CommandPostWindow, for chaining.
NotesNone
ExamplesNone
Sourcesrc/extensions/cp/apple/finalcutpro/workflowextensions/CommandPostWindow.lua line 143

Signaturecp.apple.finalcutpro.workflowextensions.CommandPostWindow:reload() -> none
TypeMethod
DescriptionPress the Reload Button.
Parameters
  • None
Returns
  • None
NotesNone
ExamplesNone
Sourcesrc/extensions/cp/apple/finalcutpro/workflowextensions/CommandPostWindow.lua line 71

Signaturecp.apple.finalcutpro.workflowextensions.CommandPostWindow:show() -> CommandPostWindow
TypeMethod
DescriptionAttempts to show the CommandPost Workflow Extension window.
Parameters
  • None
Returns
  • The same CommandPostWindow, for chaining.
Notes
  • If the Workflow Extension has stalled, this method will restart it.
ExamplesNone
Sourcesrc/extensions/cp/apple/finalcutpro/workflowextensions/CommandPostWindow.lua line 99