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

Latest commit

 

History

History
367 lines (317 loc) · 31.2 KB

cp.apple.finalcutpro.main.EffectsBrowser.md

File metadata and controls

367 lines (317 loc) · 31.2 KB

docs » cp.apple.finalcutpro.main.EffectsBrowser


Effects Browser Module.

API Overview

API Documentation

Constants

Signature cp.apple.finalcutpro.main.EffectsBrowser.EFFECTS -> string
Type Constant
Description Effects.
Signature cp.apple.finalcutpro.main.EffectsBrowser.TRANSITIONS -> string
Type Constant
Description Transitions.

Variables

Signature cp.apple.finalcutpro.main.EffectsBrowser.isShowing <cp.prop: boolean>
Type Variable
Description Is the Effects Browser showing?

Functions

Signature cp.apple.finalcutpro.main.EffectsBrowser.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.EffectsBrowser(parent, type) -> EffectsBrowser
Type Constructor
Description Creates a new EffectsBrowser instance.
Parameters
  • parent - The parent object.
  • type - A string determining whether the Effects Browser is for Effects (cp.apple.finalcutpro.main.EffectsBrowser.EFFECTS) or Transitions (cp.apple.finalcutpro.main.EffectsBrowser.TRANSITIONS).
Returns
  • A new EffectsBrowser object.

Fields

Signature cp.apple.finalcutpro.main.EffectsBrowser.contents <cp.ui.ScrollArea>
Type Field
Description The Effects Browser Contents.
Signature cp.apple.finalcutpro.main.EffectsBrowser.group <cp.ui.PopUpButton>
Type Field
Description The group PopUpButton.
Signature cp.apple.finalcutpro.main.EffectsBrowser:mainGroupUI() -> <cp.prop: hs._asm.axuielement; read-only>
Type Field
Description Main Group UI.
Signature cp.apple.finalcutpro.main.EffectsBrowser.search <cp.ui.PopUpButton>
Type Field
Description The Search PopUpButton object.
Signature cp.apple.finalcutpro.main.EffectsBrowser.sidebar <cp.ui.Table>
Type Field
Description The sidebar Table object.
Signature cp.apple.finalcutpro.main.EffectsBrowser.sidebarToggle <cp.ui.CheckBox>
Type Field
Description The Sidebar Toggle.
Signature cp.apple.finalcutpro.main.EffectsBrowser.toggleButton <cp.ui.RadioButton>
Type Field
Description The Effects Browser Toggle Button.

Methods

Signature cp.apple.finalcutpro.main.EffectsBrowser:applyItem(itemUI) -> EffectsBrowser
Type Method
Description Applies an item by double clicking on it.
Parameters
  • itemUI - The axuielementObject of the item you want to apply.
Returns
  • The EffectsBrowser object.
Signature cp.apple.finalcutpro.main.EffectsBrowser:audioCategoryRowsUI() -> axuielementObject
Type Method
Description Gets the Audio Category Rows UI.
Parameters
  • None
Returns
  • axuielementObject object.
Signature cp.apple.finalcutpro.main.EffectsBrowser:currentItemsUI() -> axuielementObject
Type Method
Description Gets the current items UI.
Parameters
  • None
Returns
  • axuielementObject object.
Signature cp.apple.finalcutpro.main.EffectsBrowser:doHideSidebar() -> cp.rx.go.Statement
Type Method
Description Returns a Statement that will hide the Sidebar.
Parameters
  • None
Returns
  • The Statement.
Signature cp.apple.finalcutpro.main.EffectsBrowser:doShow() -> cp.rx.go.Statement
Type Method
Description Returns a Statement that will show the Effects Browser.
Parameters
  • None
Returns
  • The Statement.
Signature cp.apple.finalcutpro.main.EffectsBrowser:doShowSidebar() -> cp.rx.go.Statement
Type Method
Description Returns a Statement that will show the Sidebar.
Parameters
  • None
Returns
  • The Statement.
Signature cp.apple.finalcutpro.main.EffectsBrowser:doToggleSidebar() -> cp.rx.go.Statement
Type Method
Description A Statement to toggle the Sidebar.
Parameters
  • None
Returns
  • The Statement object.
Signature cp.apple.finalcutpro.main.EffectsBrowser:getCurrentTitles() -> table
Type Method
Description Returns the list of titles for all effects/transitions currently visible.
Parameters
  • None
Returns
  • A table
Signature cp.apple.finalcutpro.main.EffectsBrowser:hide() -> EffectsBrowser
Type Method
Description Hide the Effects Browser.
Parameters
  • None
Returns
  • The EffectsBrowser object.
Signature cp.apple.finalcutpro.main.EffectsBrowser:hideSidebar() -> EffectsBrowser
Type Method
Description Hide Sidebar.
Parameters
  • None
Returns
  • The EffectsBrowser object.
Signature cp.apple.finalcutpro.main.EffectsBrowser:itemIsSelected(itemUI) -> boolean
Type Method
Description Checks to see if an item is selected.
Parameters
  • itemUI - A axuielementObject to check.
Returns
  • true if the item is selected, otherwise false.
Signature cp.apple.finalcutpro.main.EffectsBrowser:loadLayout(layout) -> none
Type Method
Description Loads a Effects Browser layout.
Parameters
  • layout - A table containing the Effects Browser layout settings - created using cp.apple.finalcutpro.main.Browser:saveLayout().
Returns
  • None
Signature cp.apple.finalcutpro.main.EffectsBrowser:saveLayout() -> table
Type Method
Description Saves the current Effects Browser layout to a table.
Parameters
  • None
Returns
  • A table containing the current Effects Browser Layout.
Signature cp.apple.finalcutpro.main.EffectsBrowser:selectedItemsUI() -> axuielementObject
Type Method
Description Gets the selected items UI.
Parameters
  • None
Returns
  • axuielementObject object.
Signature cp.apple.finalcutpro.main.EffectsBrowser:show() -> EffectsBrowser
Type Method
Description Show the Effects Browser.
Parameters
  • None
Returns
  • The EffectsBrowser object.
Signature cp.apple.finalcutpro.main.EffectsBrowser:showAllAudioEffects() -> boolean
Type Method
Description Show All Audio Effects.
Parameters
  • None
Returns
  • true if successful otherwise false.
Signature cp.apple.finalcutpro.main.EffectsBrowser:showAllEffects() -> EffectsBrowser
Type Method
Description Show All Effects.
Parameters
  • None
Returns
  • The EffectsBrowser object.
Signature cp.apple.finalcutpro.main.EffectsBrowser:showAllTransitions() -> EffectsBrowser
Type Method
Description Show All Transitions.
Parameters
  • None
Returns
  • The EffectsBrowser object.
Signature cp.apple.finalcutpro.main.EffectsBrowser:showAllVideoEffects() -> boolean
Type Method
Description Show All Video Effects.
Parameters
  • None
Returns
  • true if successful otherwise false.
Signature cp.apple.finalcutpro.main.EffectsBrowser:showAudioCategory(name) -> self
Type Method
Description Ensures the sidebar is showing and that the selected 'Audio' category is selected, if available.
Parameters
  • name - The category name, in the current language.
Returns
  • The browser.
Signature cp.apple.finalcutpro.main.EffectsBrowser:showInstalledEffects() -> EffectsBrowser
Type Method
Description Show Installed Effects.
Parameters
  • None
Returns
  • The EffectsBrowser object.
Signature cp.apple.finalcutpro.main.EffectsBrowser:showInstalledTransitions() -> EffectsBrowser
Type Method
Description Show Installed Transitions.
Parameters
  • None
Returns
  • The EffectsBrowser object.
Signature cp.apple.finalcutpro.main.EffectsBrowser:showSidebar() -> EffectsBrowser
Type Method
Description Show Sidebar.
Parameters
  • None
Returns
  • The EffectsBrowser object.
Signature cp.apple.finalcutpro.main.EffectsBrowser:showTransitionsCategory(name) -> EffectsBrowser
Type Method
Description Ensures the sidebar is showing and that the selected 'Transitions' category is selected, if available.
Parameters
  • name - The category name, in the current language.
Returns
  • The EffectsBrowser object.
Signature cp.apple.finalcutpro.main.EffectsBrowser:showVideoCategory(name) -> EffectsBrowser
Type Method
Description Ensures the sidebar is showing and that the selected 'Video' category is selected, if available.
Parameters
  • name - The category name, in the current language.
Returns
  • The EffectsBrowser object.
Signature cp.apple.finalcutpro.main.EffectsBrowser:toggleSidebar() -> EffectsBrowser
Type Method
Description Toggle Sidebar.
Parameters
  • None
Returns
  • The EffectsBrowser object.
Signature cp.apple.finalcutpro.main.EffectsBrowser:type() -> App
Type Method
Description Type of Effects Browser.
Parameters
  • None
Returns
  • App
Signature cp.apple.finalcutpro.main.EffectsBrowser:videoCategoryRowsUI() -> axuielementObject
Type Method
Description Gets the Video Category Rows UI.
Parameters
  • None
Returns
  • axuielementObject object.