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

Latest commit

 

History

History
206 lines (175 loc) · 16.2 KB

cp.apple.finalcutpro.main.MediaBrowser.md

File metadata and controls

206 lines (175 loc) · 16.2 KB

docs » cp.apple.finalcutpro.main.MediaBrowser


Media Browser Module.

API Overview

API Documentation

Constants

Signature cp.apple.finalcutpro.main.MediaBrowser.GARAGE_BAND -> number
Type Constant
Description Garage Band ID.
Signature cp.apple.finalcutpro.main.MediaBrowser.ITUNES -> number
Type Constant
Description iTunes ID.
Signature cp.apple.finalcutpro.main.MediaBrowser.MAX_SECTIONS -> number
Type Constant
Description Maximum Sections.
Signature cp.apple.finalcutpro.main.MediaBrowser.PHOTOS -> number
Type Constant
Description Photos ID.
Signature cp.apple.finalcutpro.main.MediaBrowser.SOUND_EFFECTS -> number
Type Constant
Description Sound Effects ID.
Signature cp.apple.finalcutpro.main.MediaBrowser.TITLE -> string
Type Constant
Description Photos & Audio Title.

Constructors

Signature cp.apple.finalcutpro.main.MediaBrowser(parent) -> MediaBrowser
Type Constructor
Description Creates a new Browser instance.
Parameters
  • parent - The parent object.
Returns
  • A new MediaBrowser object.

Fields

Signature cp.apple.finalcutpro.main.MediaBrowser.group <cp.ui.PopUpButton>
Type Field
Description The group PopUpButton.
Signature cp.apple.finalcutpro.main.MediaBrowser.isShowing <cp.prop: boolean; read-only>
Type Field
Description Checks if the Media Browser is showing.
Signature cp.apple.finalcutpro.main.MediaBrowser.mainGroupUI <cp.prop: hs._asm.axuielement; read-only>
Type Field
Description Returns the main group UI for the Media Browser, or nil if not available.
Signature cp.apple.finalcutpro.main.MediaBrowser.search <cp.ui.TextField>
Type Field
Description The search TextField.
Signature cp.apple.finalcutpro.main.MediaBrowser.sidebar <cp.ui.Table>
Type Field
Description The Sidebar Table.

Methods

Signature cp.apple.finalcutpro.main.MediaBrowser:hide() -> MediaBrowser
Type Method
Description Hide the Media Browser.
Parameters
  • None
Returns
  • The MediaBrowser object.
Signature cp.apple.finalcutpro.main.MediaBrowser:loadLayout(layout) -> none
Type Method
Description Loads a Media Browser layout.
Parameters
  • layout - A table containing the Media Browser layout settings - created using cp.apple.finalcutpro.main.MediaBrowser:saveLayout().
Returns
  • None
Signature cp.apple.finalcutpro.main.MediaBrowser:saveLayout() -> table
Type Method
Description Saves the current Media Browser layout to a table.
Parameters
  • None
Returns
  • A table containing the current Media Browser Layout.
Signature cp.apple.finalcutpro.main.MediaBrowser:show() -> MediaBrowser
Type Method
Description Show the Media Browser.
Parameters
  • None
Returns
  • The MediaBrowser object.
Signature cp.apple.finalcutpro.main.MediaBrowser:showGarageBand() -> MediaBrowser
Type Method
Description Show Garage Band Section.
Parameters
  • None
Returns
  • MediaBrowser object.
Signature cp.apple.finalcutpro.main.MediaBrowser:showITunes() -> MediaBrowser
Type Method
Description Show iTunes Section.
Parameters
  • None
Returns
  • MediaBrowser object.
Signature cp.apple.finalcutpro.main.MediaBrowser:showPhotos() -> MediaBrowser
Type Method
Description Show Photos Section.
Parameters
  • None
Returns
  • MediaBrowser object.
Signature cp.apple.finalcutpro.main.MediaBrowser:showSection(index) -> MediaBrowser
Type Method
Description Show a specific section.
Parameters
  • index - The index ID of the section you want to show as a number.
Returns
  • MediaBrowser object.
Signature cp.apple.finalcutpro.main.MediaBrowser:showSidebar() -> MediaBrowser
Type Method
Description Show the Media Browser Sidebar.
Parameters
  • None
Returns
  • MediaBrowser object.
Signature cp.apple.finalcutpro.main.MediaBrowser:showSoundEffects() -> MediaBrowser
Type Method
Description Show Sound Effects Section.
Parameters
  • None
Returns
  • MediaBrowser object.
Signature cp.apple.finalcutpro.main.MediaBrowser:topCategoriesUI() -> axuielementObject
Type Method
Description Get the Top Categories UI.
Parameters
  • None
Returns
  • axuielementObject object.