#cp.apple.finalcutpro.main.Browser

Browser Module.


#Submodules


#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.Browser.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/Browser.lua line 50

#Constructors

Signaturecp.apple.finalcutpro.main.Browser(app) -> Browser
TypeConstructor
DescriptionCreates a new Browser instance.
Parameters
  • app - The Final Cut Pro app instance.
Returns
  • The new Browser.
NotesNone
ExamplesNone
Sourcesrc/extensions/cp/apple/finalcutpro/main/Browser.lua line 67

#Fields

Signaturecp.apple.finalcutpro.main.Browser.generators <cp.apple.finalcutpro.main.GeneratorsBrowser>
TypeField
DescriptionGenerators Browser object.
NotesNone
Sourcesrc/extensions/cp/apple/finalcutpro/main/Browser.lua line 354

Signaturecp.apple.finalcutpro.main.Browser.generatorsShowing <cp.prop: boolean; read-only>
TypeField
DescriptionIs the 'Generators' button active, and thus showing?
NotesNone
Sourcesrc/extensions/cp/apple/finalcutpro/main/Browser.lua line 139

Signaturecp.apple.finalcutpro.main.Browser.isOnPrimary <cp.prop: boolean; read-only>
TypeField
DescriptionIs the Browser on the Primary Window?
NotesNone
Sourcesrc/extensions/cp/apple/finalcutpro/main/Browser.lua line 115

Signaturecp.apple.finalcutpro.main.Browser.isOnSecondary <cp.prop: boolean; read-only>
TypeField
DescriptionIs the Browser on the Secondary Window?
NotesNone
Sourcesrc/extensions/cp/apple/finalcutpro/main/Browser.lua line 105

Signaturecp.apple.finalcutpro.main.Browser.libraries <cp.apple.finalcutpro.main.LibrariesBrowser>
TypeField
DescriptionThe module object.
Parameters
  • None
Returns
  • A LibrariesBrowser object.
NotesNone
Sourcesrc/extensions/cp/apple/finalcutpro/main/Browser.lua line 334

Signaturecp.apple.finalcutpro.main.Browser.librariesShowing <cp.prop: boolean; read-only>
TypeField
DescriptionIs the 'Libraries' button active, and thus showing?
NotesNone
Sourcesrc/extensions/cp/apple/finalcutpro/main/Browser.lua line 125

Signaturecp.apple.finalcutpro.main.Browser.markerPopover <BrowserMarkerPopover>
TypeField
DescriptionThe Browser Marker Popover object.
NotesNone
Sourcesrc/extensions/cp/apple/finalcutpro/main/Browser.lua line 361

Signaturecp.apple.finalcutpro.main.Browser.media <cp.apple.finalcutpro.main.MediaBrowser>
TypeField
DescriptionThe Media Browser object.
NotesNone
Sourcesrc/extensions/cp/apple/finalcutpro/main/Browser.lua line 347

Signaturecp.apple.finalcutpro.main.Browser.mediaShowing <cp.prop: boolean; read-only>
TypeField
DescriptionIs the 'Media' button active, and thus showing?
NotesNone
Sourcesrc/extensions/cp/apple/finalcutpro/main/Browser.lua line 132

Signaturecp.apple.finalcutpro.main.Browser.showGenerators <cp.ui.CheckBox>
TypeField
DescriptionThe CheckBox indicating if the Generators Browser is showing.
NotesNone
Sourcesrc/extensions/cp/apple/finalcutpro/main/Browser.lua line 320

Signaturecp.apple.finalcutpro.main.Browser.showLibraries <cp.ui.CheckBox>
TypeField
DescriptionIndicates if Libraries is showing, and can be clicked to toggle.
NotesNone
Sourcesrc/extensions/cp/apple/finalcutpro/main/Browser.lua line 292

Signaturecp.apple.finalcutpro.main.Browser.showMedia <cp.ui.CheckBox>
TypeField
DescriptionCheckBox indicating if the Media Browser is showing.
NotesNone
Sourcesrc/extensions/cp/apple/finalcutpro/main/Browser.lua line 306

#Methods

Signaturecp.apple.finalcutpro.main.Browser.appearanceAndFiltering <cp.apple.finalcutpro.main.AppearanceAndFiltering>
TypeMethod
DescriptionThe Clip AppearanceAndFiltering Menu Popover
Parameters
  • None
Returns
  • None
NotesNone
ExamplesNone
Sourcesrc/extensions/cp/apple/finalcutpro/main/LibrariesBrowser.lua line 256

Signaturecp.apple.finalcutpro.main.Browser:doHide() -> cp.rx.go.Statement
TypeMethod
DescriptionA Statement that will hide the Browser.
Parameters
  • None
Returns
  • The Statement to execute.
NotesNone
ExamplesNone
Sourcesrc/extensions/cp/apple/finalcutpro/main/Browser.lua line 271

Signaturecp.apple.finalcutpro.main.Browser:doShow() -> cp.rx.go.Statement
TypeMethod
DescriptionA Statement that will ensure the Browser is showing. If it's currently showing on the Secondary Screen it will stay there, otherwise it will get shown on the Primary Screen.
Parameters
  • None
Returns
  • The Statement to execute.
NotesNone
ExamplesNone
Sourcesrc/extensions/cp/apple/finalcutpro/main/Browser.lua line 239

Signaturecp.apple.finalcutpro.main.Browser:doShowOnPrimary() -> cp.rx.go.Statement
TypeMethod
DescriptionA Statement that will show the Browser on Primary Screen.
Parameters
  • None
Returns
  • The Statement to execute.
NotesNone
ExamplesNone
Sourcesrc/extensions/cp/apple/finalcutpro/main/Browser.lua line 176

Signaturecp.apple.finalcutpro.main.Browser:doShowOnSecondary() -> cp.rx.go.Statement
TypeMethod
DescriptionA Statement that will show the Browser on Secondary Screen.
Parameters
  • None
Returns
  • The Statement to execute.
NotesNone
ExamplesNone
Sourcesrc/extensions/cp/apple/finalcutpro/main/Browser.lua line 218

Signaturecp.apple.finalcutpro.main.Browser:hide() -> Browser
TypeMethod
DescriptionHides the Browser.
Parameters
  • None
Returns
  • The Browser object.
NotesNone
ExamplesNone
Sourcesrc/extensions/cp/apple/finalcutpro/main/Browser.lua line 254

Signaturecp.apple.finalcutpro.main.Browser:loadLayout(layout) -> none
TypeMethod
DescriptionLoads a Browser layout.
Parameters
  • layout - A table containing the Browser layout settings - created using cp.apple.finalcutpro.main.Browser:saveLayout().
Returns
  • None
NotesNone
ExamplesNone
Sourcesrc/extensions/cp/apple/finalcutpro/main/Browser.lua line 395

Signaturecp.apple.finalcutpro.main.Browser:saveLayout() -> table
TypeMethod
DescriptionSaves the current Browser layout to a table.
Parameters
  • None
Returns
  • A table containing the current Browser Layout.
NotesNone
ExamplesNone
Sourcesrc/extensions/cp/apple/finalcutpro/main/Browser.lua line 368

Signaturecp.apple.finalcutpro.main.Browser:showOnPrimary() -> Browser
TypeMethod
DescriptionShow Browser on Primary Screen.
Parameters
  • None
Returns
  • The Browser object.
NotesNone
ExamplesNone
Sourcesrc/extensions/cp/apple/finalcutpro/main/Browser.lua line 152

Signaturecp.apple.finalcutpro.main.Browser:showOnSecondary() -> Browser
TypeMethod
DescriptionShow Browser on Secondary Screen.
Parameters
  • None
Returns
  • The Browser object.
NotesNone
ExamplesNone
Sourcesrc/extensions/cp/apple/finalcutpro/main/Browser.lua line 199