Skip to content
This repository has been archived by the owner on Jun 9, 2023. It is now read-only.

Latest commit

 

History

History
216 lines (183 loc) · 17.7 KB

cp.apple.finalcutpro.main.Browser.md

File metadata and controls

216 lines (183 loc) · 17.7 KB

docs » cp.apple.finalcutpro.main.Browser


Browser Module.

Submodules

API Overview

API Documentation

Functions

Signature cp.apple.finalcutpro.main.Browser.matches(element) -> boolean
Type Function
Description Checks to see if an element matches what we think it should be.
Parameters
  • element - An axuielementObject to check.
Returns
  • true if matches otherwise false

Constructors

Signature cp.apple.finalcutpro.main.Browser(app) -> Browser
Type Constructor
Description Creates a new Browser instance.
Parameters
  • app - The Final Cut Pro app instance.
Returns
  • The new Browser.

Fields

Signature cp.apple.finalcutpro.main.Browser.generators <cp.apple.finalcutpro.main.GeneratorsBrowser>
Type Field
Description Generators Browser object.
Signature cp.apple.finalcutpro.main.Browser.generatorsShowing <cp.prop: boolean; read-only>
Type Field
Description Is the 'Generators' button active, and thus showing?
Signature cp.apple.finalcutpro.main.Browser.isOnPrimary <cp.prop: boolean; read-only>
Type Field
Description Is the Browser on the Primary Window?
Signature cp.apple.finalcutpro.main.Browser.isOnSecondary <cp.prop: boolean; read-only>
Type Field
Description Is the Browser on the Secondary Window?
Signature cp.apple.finalcutpro.main.Browser.libraries <cp.apple.finalcutpro.main.LibrariesBrowser>
Type Field
Description The module object.
Parameters
  • None
Returns
  • A LibrariesBrowser object.
Signature cp.apple.finalcutpro.main.Browser.librariesShowing <cp.prop: boolean; read-only>
Type Field
Description Is the 'Libraries' button active, and thus showing?
Signature cp.apple.finalcutpro.main.Browser.markerPopover <BrowserMarkerPopover>
Type Field
Description The Browser Marker Popover object.
Signature cp.apple.finalcutpro.main.Browser.media <cp.apple.finalcutpro.main.MediaBrowser>
Type Field
Description The Media Browser object.
Signature cp.apple.finalcutpro.main.Browser.mediaShowing <cp.prop: boolean; read-only>
Type Field
Description Is the 'Media' button active, and thus showing?
Signature cp.apple.finalcutpro.main.Browser.showGenerators <cp.ui.CheckBox>
Type Field
Description The CheckBox indicating if the Generators Browser is showing.
Signature cp.apple.finalcutpro.main.Browser.showLibraries <cp.ui.CheckBox>
Type Field
Description Indicates if Libraries is showing, and can be clicked to toggle.
Signature cp.apple.finalcutpro.main.Browser.showMedia <cp.ui.CheckBox>
Type Field
Description CheckBox indicating if the Media Browser is showing.

Methods

Signature cp.apple.finalcutpro.main.Browser.appearanceAndFiltering <cp.apple.finalcutpro.main.AppearanceAndFiltering>
Type Method
Description The Clip AppearanceAndFiltering Menu Popover
Signature cp.apple.finalcutpro.main.Browser:doHide() -> cp.rx.go.Statement
Type Method
Description A Statement that will hide the Browser.
Parameters
  • None
Returns
  • The Statement to execute.
Signature cp.apple.finalcutpro.main.Browser:doShow() -> cp.rx.go.Statement
Type Method
Description A Statement that will ensure the Browser is showing.
Parameters
  • None
Returns
  • The Statement to execute.
Signature cp.apple.finalcutpro.main.Browser:doShowOnPrimary() -> cp.rx.go.Statement
Type Method
Description A Statement that will show the Browser on Primary Screen.
Parameters
  • None
Returns
  • The Statement to execute.
Signature cp.apple.finalcutpro.main.Browser:doShowOnSecondary() -> cp.rx.go.Statement
Type Method
Description A Statement that will show the Browser on Secondary Screen.
Parameters
  • None
Returns
  • The Statement to execute.
Signature cp.apple.finalcutpro.main.Browser:hide() -> Browser
Type Method
Description Hides the Browser.
Parameters
  • None
Returns
  • The Browser object.
Signature cp.apple.finalcutpro.main.Browser:loadLayout(layout) -> none
Type Method
Description Loads a Browser layout.
Parameters
  • layout - A table containing the Browser layout settings - created using cp.apple.finalcutpro.main.Browser:saveLayout().
Returns
  • None
Signature cp.apple.finalcutpro.main.Browser:saveLayout() -> table
Type Method
Description Saves the current Browser layout to a table.
Parameters
  • None
Returns
  • A table containing the current Browser Layout.
Signature cp.apple.finalcutpro.main.Browser:showOnPrimary() -> Browser
Type Method
Description Show Browser on Primary Screen.
Parameters
  • None
Returns
  • The Browser object.
Signature cp.apple.finalcutpro.main.Browser:showOnSecondary() -> Browser
Type Method
Description Show Browser on Secondary Screen.
Parameters
  • None
Returns
  • The Browser object.