docs » cp.apple.finalcutpro.import.MediaImport


Media Import

API Overview

  • Fields - Variables which can only be accessed from an object returned by a constructor
  • Methods - API calls which can only be made on an object returned by a constructor

API Documentation

Fields

isShowing

Signature cp.apple.finalcutpro.import.MediaImport.isShowing <cp.prop: boolean; read-only>
Type Field
Description Is the Media Import window showing?

Methods

watch

Signature cp.apple.finalcutpro.import.MediaImport:watch() -> bool
Type Method
Description Watch for events that happen in the command editor. The optional functions will be called when the window is shown or hidden, respectively.
Parameters
  • `events` - A table of functions with to watch. These may be:
  • `show(CommandEditor)` - Triggered when the window is shown.
  • `hide(CommandEditor)` - Triggered when the window is hidden.
Returns
  • An ID which can be passed to `unwatch` to stop watching.

results matching ""

    No results matching ""