#cp.apple.finalcutpro.viewer.ControlBar

Represents the bottom "control" bar on a Viewer which contains the play/pause button, timecode, audio meters, etc.


#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


#API Documentation

#Functions

Signaturecp.apple.finalcutpro.viewer.ControlBar.matches(element) -> boolean
TypeFunction
DescriptionChecks if the element is a ControlBar instance.
Parameters
  • element - The axuielement to check.
Returns
  • true if it matches the pattern for a Viewer ControlBar.
NotesNone
ExamplesNone
Sourcesrc/extensions/cp/apple/finalcutpro/viewer/ControlBar.lua line 33

#Constructors

Signaturecp.apple.finalcutpro.viewer.ControlBar(viewer)
TypeConstructor
DescriptionCreates a new ControlBar instance.
Parameters
Returns
  • The new ControlBar.
NotesNone
ExamplesNone
Sourcesrc/extensions/cp/apple/finalcutpro/viewer/ControlBar.lua line 65

#Fields

Signaturecp.apple.finalcutpro.viewer.ControlBar.timecode <cp.prop: string; live>
TypeField
DescriptionThe current timecode value, with the format "hh:mm:ss:ff". Setting also supports "hh:mm:ss;ff".
NotesNone
Sourcesrc/extensions/cp/apple/finalcutpro/viewer/ControlBar.lua line 111