# cp.apple.finalcutpro.import.MediaImport

Media Import


# API Overview

Functions - API calls offered directly by the extension

  • matches

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

  • MediaImport

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

  • importAll
  • stopImport

Methods - API calls which can only be made on an object returned by a constructor

  • hide
  • show

# API Documentation

# Functions

# matches

Signature cp.apple.finalcutpro.import.MediaImport.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/import/MediaImport.lua line 35

# Constructors

# MediaImport

Signature cp.apple.finalcutpro.import.MediaImport(app) -> MediaImport
Type Constructor
Description Creates a new Media Import object.
Parameters
  • app - The cp.apple.finalcutpro object.
Returns
  • A new MediaImport object.
Notes None
Examples None
Source src/extensions/cp/apple/finalcutpro/import/MediaImport.lua line 53

# Fields

# importAll

Signature cp.apple.finalcutpro.import.MediaImport.importAll <cp.ui.Button>
Type Field
Description The Import All button.
Notes None
Source src/extensions/cp/apple/finalcutpro/import/MediaImport.lua line 74

# stopImport

Signature cp.apple.finalcutpro.import.MediaImport.stopImport <cp.ui.Button>
Type Field
Description The "Stop Import" button.
Notes None
Source src/extensions/cp/apple/finalcutpro/import/MediaImport.lua line 81

# Methods

# hide

Signature cp.apple.finalcutpro.import.MediaImport:hide() -> cp.apple.finalcutpro.import.MediaImport
Type Method
Description Hides the Media Import window.
Parameters
  • None
Returns
  • The cp.apple.finalcutpro.import.MediaImport object for method chaining.
Notes None
Examples None
Source src/extensions/cp/apple/finalcutpro/import/MediaImport.lua line 110

# show

Signature cp.apple.finalcutpro.import.MediaImport:show() -> cp.apple.finalcutpro.import.MediaImport
Type Method
Description Shows the Media Import window.
Parameters
  • None
Returns
  • The cp.apple.finalcutpro.import.MediaImport object for method chaining.
Notes None
Examples None
Source src/extensions/cp/apple/finalcutpro/import/MediaImport.lua line 90