docs » cp.apple.finalcutpro.timeline.Contents
Timeline Contents Module.
- Functions - API calls offered directly by the extension
- clipsUI
- playheadClipsUI
- Fields - Variables which can only be accessed from an object returned by a constructor
- children
- isFocused
- isLoaded
- playhead
- scrollArea
- scrollAreaUI
- selectedChildren
- skimmingPlayhead
- viewFrame
- Methods - API calls which can only be made on an object returned by a constructor
- doFocus
- doHide
- doSelectClip
- doSelectClips
- doShow
- rangeSelectionUI
- selectedClipsUI
Signature | cp.apple.finalcutpro.timeline.Contents: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.timeline.Contents: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 |
|
Signature | cp.apple.finalcutpro.timeline.Contents.children <cp.prop: table; read-only; live> |
---|---|
Type | Field |
Description | The current set of child elements in the Contents. |
Signature | cp.apple.finalcutpro.timeline.Contents.isFocused <cp.prop: booelan; read-only> |
---|---|
Type | Field |
Description | Checks if the Timeline is currently the focused panel. |
Signature | cp.apple.finalcutpro.timeline.Contents.isLoaded <cp.prop: booelan; read-only; live> |
---|---|
Type | Field |
Description | Checks if the Timeline has content loaded. |
Signature | cp.apple.finalcutpro.timeline.Contents.playhead <cp.apple.finalcutpro.main.Playhead> |
---|---|
Type | Field |
Description | The main Playhead. |
Signature | cp.apple.finalcutpro.timeline.Contents.scrollArea <cp.ui.ScrollArea> |
---|---|
Type | Field |
Description | The ScrollArea for the Contents element. |
Signature | cp.apple.finalcutpro.timeline.Contents.scrollAreaUI <cp.prop: hs._asm.axuielement; read-only; live> |
---|---|
Type | Field |
Description | The parent ScrollArea UI of the Timeline Contents area. |
Signature | cp.apple.finalcutpro.timeline.Contents.selectedChildren <cp.prop: table; read-only; live> |
---|---|
Type | Field |
Description | The current set of selected child elements in the Contents. |
Signature | cp.apple.finalcutpro.timeline.Contents.skimmingPlayhead <cp.apple.finalcutpro.main.Playhead> |
---|---|
Type | Field |
Description | The Playhead that tracks with the mouse pointer. |
Signature | cp.apple.finalcutpro.timeline.Contents.viewFrame <cp.prop: table; read-only; live> |
---|---|
Type | Field |
Description | The current 'frame' of the internal timeline content, or nil if not available. |
Signature | cp.apple.finalcutpro.timeline.Contents:doFocus(show) -> cp.rx.go.Statement |
---|---|
Type | Method |
Description | A Statement which will focus on the Contents . |
Parameters |
|
Returns |
|
Signature | cp.apple.finalcutpro.timeline.Contents:doHide() -> cp.rx.go.Statement |
---|---|
Type | Method |
Description | A Statement that will attempt to hide the Timeline Contents. |
Returns |
|
Signature | cp.apple.finalcutpro.timeline.Contents:doSelectClip(clipUI) -> cp.rx.go.Statement |
---|---|
Type | Method |
Description | A Statement which will select the specified single hs._asm.axuielement value in the Timeline Contents area. |
Parameters |
|
Returns |
|
Signature | cp.apple.finalcutpro.timeline.Contents:doSelectClips(clipsUI) -> cp.rx.go.Statement |
---|---|
Type | Method |
Description | A Statement which will select the specified list of hs._asm.axuielement values in the Timeline Contents area. |
Parameters |
|
Returns |
|
Signature | cp.apple.finalcutpro.timeline.Contents:doShow() -> cp.rx.go.Statement |
---|---|
Type | Method |
Description | A Statement that will attempt to show the Timeline Contents. |
Returns |
|
Signature | cp.apple.finalcutpro.timeline.Contents:rangeSelectionUI() -> axuielements |
---|---|
Type | Method |
Description | Returns the UI for the current 'Range Selection', if present. |
Parameters |
|
Returns |
|
Signature | cp.apple.finalcutpro.timeline.Contents:selectedClipsUI(expandedGroups, filterFn) -> table of axuielements |
---|---|
Type | Method |
Description | Returns a table containing the list of selected clips. |
Parameters |
|
Returns |
|