# cp.apple.finalcutpro.main.PrimaryToolbar

Timeline Toolbar.


# API Overview

Functions - API calls offered directly by the extension

  • matches

Constructors - API calls which return an object, typically one that offers API methods

  • PrimaryToolbar

Fields - Variables which can only be accessed from an object returned by a constructor

  • backgroundTasksWindow
  • browserShowing
  • extensions
  • inspectorShowing
  • keywordEditor
  • mediaImport
  • shareButton
  • timelineShowing

# API Documentation

# Functions

# matches

Signature cp.apple.finalcutpro.main.PrimaryToolbar.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
Notes None
Examples None
Source src/extensions/cp/apple/finalcutpro/main/PrimaryToolbar.lua line 23

# Constructors

# PrimaryToolbar

Signature cp.apple.finalcutpro.main.PrimaryToolbar(parent) -> PrimaryToolbar
Type Constructor
Description Creates a new PrimaryToolbar instance.
Parameters
  • parent - The parent object.
Returns
  • A new PrimaryToolbar object.
Notes None
Examples None
Source src/extensions/cp/apple/finalcutpro/main/PrimaryToolbar.lua line 49

# Fields

# backgroundTasksWindow

Signature cp.apple.finalcutpro.main.PrimaryToolbar.backgroundTasksWindow <cp.ui.CheckBox>
Type Field
Description The CheckBox that will open the BackgroundTasksWindow dialog
Notes None
Source src/extensions/cp/apple/finalcutpro/main/PrimaryToolbar.lua line 120

# browserShowing

Signature cp.apple.finalcutpro.main.PrimaryToolbar.browserShowing <cp.ui.CheckBox>
Type Field
Description The CheckBox indicating if the Browser is showing
Notes None
Source src/extensions/cp/apple/finalcutpro/main/PrimaryToolbar.lua line 142

# extensions

Signature cp.apple.finalcutpro.main.PrimaryToolbar.extensions <cp.ui.Button>
Type Field
Description The Button that will open the "Available Extensions" dialog, or trigger the only extension, if only one is installed.
Notes None
Source src/extensions/cp/apple/finalcutpro/main/PrimaryToolbar.lua line 133

# inspectorShowing

Signature cp.apple.finalcutpro.main.PrimaryToolbar.inspectorShowing <cp.ui.CheckBox>
Type Field
Description The CheckBox indicating if the Inspector is showing
Notes None
Source src/extensions/cp/apple/finalcutpro/main/PrimaryToolbar.lua line 170

# keywordEditor

Signature cp.apple.finalcutpro.main.PrimaryToolbar.keywordEditor <cp.ui.CheckBox>
Type Field
Description The CheckBox that will open the KeywordEditor dialog when checked.
Notes None
Source src/extensions/cp/apple/finalcutpro/main/PrimaryToolbar.lua line 107

# mediaImport

Signature cp.apple.finalcutpro.main.PrimaryToolbar.mediaImport <cp.ui.Button>
Type Field
Description The Button that will open the MediaImport dialog
Notes None
Source src/extensions/cp/apple/finalcutpro/main/PrimaryToolbar.lua line 98

# shareButton

Signature cp.apple.finalcutpro.main.PrimaryToolbar.shareButton <cp.ui.Button>
Type Field
Description The Share Button.
Notes None
Source src/extensions/cp/apple/finalcutpro/main/PrimaryToolbar.lua line 184

# timelineShowing

Signature cp.apple.finalcutpro.main.PrimaryToolbar.timelineShowing <cp.ui.CheckBox>
Type Field
Description The CheckBox indicating if the Timeline is showing
Notes None
Source src/extensions/cp/apple/finalcutpro/main/PrimaryToolbar.lua line 156