docs » cp.apple.finalcutpro.main.MediaBrowser
Media Browser Module.
- Constants - Useful values which cannot be changed
- GARAGE_BAND
- ITUNES
- MAX_SECTIONS
- PHOTOS
- SOUND_EFFECTS
- TITLE
- Constructors - API calls which return an object, typically one that offers API methods
- MediaBrowser
- Fields - Variables which can only be accessed from an object returned by a constructor
- group
- isShowing
- mainGroupUI
- search
- sidebar
- Methods - API calls which can only be made on an object returned by a constructor
- hide
- loadLayout
- saveLayout
- show
- showGarageBand
- showITunes
- showPhotos
- showSection
- showSidebar
- showSoundEffects
- topCategoriesUI
| 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. |
| Signature | cp.apple.finalcutpro.main.MediaBrowser(parent) -> MediaBrowser |
|---|---|
| Type | Constructor |
| Description | Creates a new Browser instance. |
| Parameters |
|
| Returns |
|
| 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. |
| Signature | cp.apple.finalcutpro.main.MediaBrowser:hide() -> MediaBrowser |
|---|---|
| Type | Method |
| Description | Hide the Media Browser. |
| Parameters |
|
| Returns |
|
| Signature | cp.apple.finalcutpro.main.MediaBrowser:loadLayout(layout) -> none |
|---|---|
| Type | Method |
| Description | Loads a Media Browser layout. |
| Parameters |
|
| Returns |
|
| Signature | cp.apple.finalcutpro.main.MediaBrowser:saveLayout() -> table |
|---|---|
| Type | Method |
| Description | Saves the current Media Browser layout to a table. |
| Parameters |
|
| Returns |
|
| Signature | cp.apple.finalcutpro.main.MediaBrowser:show() -> MediaBrowser |
|---|---|
| Type | Method |
| Description | Show the Media Browser. |
| Parameters |
|
| Returns |
|
| Signature | cp.apple.finalcutpro.main.MediaBrowser:showGarageBand() -> MediaBrowser |
|---|---|
| Type | Method |
| Description | Show Garage Band Section. |
| Parameters |
|
| Returns |
|
| Signature | cp.apple.finalcutpro.main.MediaBrowser:showITunes() -> MediaBrowser |
|---|---|
| Type | Method |
| Description | Show iTunes Section. |
| Parameters |
|
| Returns |
|
| Signature | cp.apple.finalcutpro.main.MediaBrowser:showPhotos() -> MediaBrowser |
|---|---|
| Type | Method |
| Description | Show Photos Section. |
| Parameters |
|
| Returns |
|
| Signature | cp.apple.finalcutpro.main.MediaBrowser:showSection(index) -> MediaBrowser |
|---|---|
| Type | Method |
| Description | Show a specific section. |
| Parameters |
|
| Returns |
|
| Signature | cp.apple.finalcutpro.main.MediaBrowser:showSidebar() -> MediaBrowser |
|---|---|
| Type | Method |
| Description | Show the Media Browser Sidebar. |
| Parameters |
|
| Returns |
|
| Signature | cp.apple.finalcutpro.main.MediaBrowser:showSoundEffects() -> MediaBrowser |
|---|---|
| Type | Method |
| Description | Show Sound Effects Section. |
| Parameters |
|
| Returns |
|
| Signature | cp.apple.finalcutpro.main.MediaBrowser:topCategoriesUI() -> axuielementObject |
|---|---|
| Type | Method |
| Description | Get the Top Categories UI. |
| Parameters |
|
| Returns |
|