SecondaryWindow

Last updated 23 days ago

Secondary Window Module.

API Overview

API Documentation

Functions

matches

Signature

cp.apple.finalcutpro.main.SecondaryWindow.matches(element) -> boolean

Type

Function

Description

Checks to see if an element matches what we think it should be.

Parameters

Returns

Fields

Signature

cp.apple.finalcutpro.main.SecondaryWindow.browserGroupUI <cp.prop: hs._asm.axuielement; read-only; live>

Type

Field

Description

The UI element that will contain the Browser if it's on the Secondary Window.

frame

Signature

cp.apple.finalcutpro.main.SecondaryWindow.frame <cp.prop: frame>

Type

Field

Description

The current position (x, y, width, height) of the window.

hsWindow

Signature

cp.apple.finalcutpro.main.SecondaryWindow.hsWindow <cp.prop: hs.window; read-only; live>

Type

Field

Description

The hs.window instance for the window, or nil if it can't be found.

Signature

cp.apple.finalcutpro.main.SecondaryWindow.isFullScreen <cp.prop: boolean; live>

Type

Field

Description

Is true if the window is full-screen.

isShowing

Signature

cp.apple.finalcutpro.main.SecondaryWindow.isShowing <cp.prop: boolean; read-only; live>

Type

Field

Description

Is true if the window is visible.

Signature

cp.apple.finalcutpro.main.SecondaryWindow.rootGroupUI <cp.prop: hs._asm.axuielement; read-only; live>

Type

Field

Description

The root UI element on the window.

Signature

cp.apple.finalcutpro.main.SecondaryWindow.timelineGroupUI <cp.prop: hs._asm.axuielement; read-only; live>

Type

Field

Description

The UI element that will contain the Timeline if it's on the Secondary Window.

UI

Signature

cp.apple.finalcutpro.main.SecondaryWindow.UI <cp.prop: axuielement; read-only; live>

Type

Field

Description

The axuielement for the window.

Signature

cp.apple.finalcutpro.main.SecondaryWindow.viewerGroupUI <cp.prop: hs._asm.axuielement; read-only; live>

Type

Field

Description

The UI element that will contain the Viewer if it's on the Secondary Window.

Methods

app

Signature

cp.apple.finalcutpro.main.SecondaryWindow:app() -> App

Type

Method

Description

Returns the app instance representing Final Cut Pro.

Parameters

Returns

show

Signature

cp.apple.finalcutpro.main.SecondaryWindow:show() -> SecondaryWindow

Type

Method

Description

Show the Secondary Window.

Parameters

Returns

window

Signature

cp.apple.finalcutpro.main.SecondaryWindow:window() -> cp.ui.Window

Type

Method

Description

Returns the Window instance.

Parameters

Returns