TimelineContents

Last updated 23 days ago

Timeline Contents Module.

API Overview

API Documentation

Functions

clipsUI

Signature

cp.apple.finalcutpro.main.TimelineContents:clipsUI(expandedGroups, filterFn) -> table of axuielements

Type

Function

Description

Returns a table containing the list of clips in the Timeline.

Parameters

Returns

Signature

cp.apple.finalcutpro.main.TimelineContents:playheadClipsUI(expandedGroups, filterFn) -> table of axuielements

Type

Function

Description

Returns a table array containing the list of clips in the Timeline under the playhead, ordered with the

Parameters

Returns

Fields

Signature

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

Type

Field

Description

The AXHorizontalScrolLbar for the Timeline Contents area.

isFocused

Signature

cp.apple.finalcutpro.main.TimelineContents.isFocused <cp.prop: booelan; read-only>

Type

Field

Description

Checks if the Timeline is currently the focused panel.

isLoaded

Signature

cp.apple.finalcutpro.main.TimelineContents.isLoaded <cp.prop: booelan; read-only; live>

Type

Field

Description

Checks if the Timeline has content loaded.

isShowing

Signature

cp.apple.finalcutpro.main.TimelineContents.isShowing <cp.prop: booelan; read-only; live>

Type

Field

Description

Checks if the Timeline is currently showing.

Signature

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

Type

Field

Description

The parent ScrollArea UI of the Timeline Contents area.

UI

Signature

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

Type

Field

Description

The main UI of the Timeline Contents area.

Signature

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

Type

Field

Description

The AXVerticalScrollBar for the Timeline Contents area.

viewFrame

Signature

cp.apple.finalcutpro.main.TimelineContents.viewFrame <cp.prop: table; read-only; live>

Type

Field

Description

The current 'frame' of the internal timeline content, or nil if not available.

Methods

Signature

cp.apple.finalcutpro.main.TimelineContents:rangeSelectionUI() -> axuielements

Type

Method

Description

Returns the UI for the current 'Range Selection', if present.

Parameters

Returns

Signature

cp.apple.finalcutpro.main.TimelineContents:selectedClipsUI(expandedGroups, filterFn) -> table of axuielements

Type

Method

Description

Returns a table containing the list of selected clips.

Parameters

Returns