#cp.apple.finalcutpro.main.SecondaryWindow

Secondary Window 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

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


#API Documentation

#Functions

Signaturecp.apple.finalcutpro.main.SecondaryWindow.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/main/SecondaryWindow.lua line 24

#Constructors

Signaturecp.apple.finalcutpro.main.SecondaryWindow(app) -> SecondaryWindow
TypeConstructor
DescriptionCreates a new SecondaryWindow instance.
Parameters
  • app - The cp.apple.finalcutpro object.
Returns
  • A new SecondaryWindow object.
NotesNone
ExamplesNone
Sourcesrc/extensions/cp/apple/finalcutpro/main/SecondaryWindow.lua line 41

#Fields

Signaturecp.apple.finalcutpro.main.SecondaryWindow.browserGroupUI <cp.prop: hs.axuielement; read-only; live>
TypeField
DescriptionThe UI element that will contain the Browser if it's on the Secondary Window.
NotesNone
Sourcesrc/extensions/cp/apple/finalcutpro/main/SecondaryWindow.lua line 114

Signaturecp.apple.finalcutpro.main.SecondaryWindow.frame <cp.prop: frame>
TypeField
DescriptionThe current position (x, y, width, height) of the window.
NotesNone
Sourcesrc/extensions/cp/apple/finalcutpro/main/SecondaryWindow.lua line 88

Signaturecp.apple.finalcutpro.main.SecondaryWindow.hsWindow <cp.prop: hs.window; read-only; live>
TypeField
DescriptionThe hs.window instance for the window, or nil if it can't be found.
NotesNone
Sourcesrc/extensions/cp/apple/finalcutpro/main/SecondaryWindow.lua line 67

Signaturecp.apple.finalcutpro.main.SecondaryWindow.isFullScreen <cp.prop: boolean; live>
TypeField
DescriptionIs true if the window is full-screen.
NotesNone
Sourcesrc/extensions/cp/apple/finalcutpro/main/SecondaryWindow.lua line 81

Signaturecp.apple.finalcutpro.main.SecondaryWindow.isShowing <cp.prop: boolean; read-only; live>
TypeField
DescriptionIs true if the window is visible.
NotesNone
Sourcesrc/extensions/cp/apple/finalcutpro/main/SecondaryWindow.lua line 74

Signaturecp.apple.finalcutpro.main.SecondaryWindow.rootGroupUI <cp.prop: hs.axuielement; read-only; live>
TypeField
DescriptionThe root UI element on the window.
NotesNone
Sourcesrc/extensions/cp/apple/finalcutpro/main/SecondaryWindow.lua line 95

Signaturecp.apple.finalcutpro.main.SecondaryWindow.timelineGroupUI <cp.prop: hs.axuielement; read-only; live>
TypeField
DescriptionThe UI element that will contain the Timeline if it's on the Secondary Window.
NotesNone
Sourcesrc/extensions/cp/apple/finalcutpro/main/SecondaryWindow.lua line 121

Signaturecp.apple.finalcutpro.main.SecondaryWindow.viewerGroupUI <cp.prop: hs.axuielement; read-only; live>
TypeField
DescriptionThe UI element that will contain the Viewer if it's on the Secondary Window.
NotesNone
Sourcesrc/extensions/cp/apple/finalcutpro/main/SecondaryWindow.lua line 107

#Methods

Signaturecp.apple.finalcutpro.main.SecondaryWindow:app() -> App
TypeMethod
DescriptionReturns the app instance representing Final Cut Pro.
Parameters
  • None
Returns
  • App
NotesNone
ExamplesNone
Sourcesrc/extensions/cp/apple/finalcutpro/main/SecondaryWindow.lua line 142

Signaturecp.apple.finalcutpro.main.SecondaryWindow:doShow() -> cp.rx.go.Statement
TypeMethod
DescriptionA Statement that shows the Secondary Window.
Parameters
  • None
Returns
  • The SecondaryWindow object.
NotesNone
ExamplesNone
Sourcesrc/extensions/cp/apple/finalcutpro/main/SecondaryWindow.lua line 173

Signaturecp.apple.finalcutpro.main.SecondaryWindow:show() -> SecondaryWindow
TypeMethod
DescriptionShow the Secondary Window.
Parameters
  • None
Returns
  • The SecondaryWindow object.
NotesNone
ExamplesNone
Sourcesrc/extensions/cp/apple/finalcutpro/main/SecondaryWindow.lua line 155