#cp.apple.finalcutpro.export.ReplaceAlert

Replace Alert


#API Overview

Functions - API calls offered directly by the extension

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

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


#API Documentation

#Functions

Signaturecp.apple.finalcutpro.export.ReplaceAlert.matches(element) -> boolean
TypeFunction
DescriptionChecks to see if an element matches what we think it should be.
Parameters
  • element - An axuielementObject to check.
Returns
  • true if matches otherwise false
NotesNone
ExamplesNone
Sourcesrc/extensions/cp/apple/finalcutpro/export/ReplaceAlert.lua line 16

#Constructors

Signaturecp.apple.finalcutpro.export.ReplaceAlert(app) -> ReplaceAlert
TypeConstructor
DescriptionCreates a new Replace Alert object.
Parameters
  • app - The cp.apple.finalcutpro object.
Returns
  • A new ReplaceAlert object.
NotesNone
ExamplesNone
Sourcesrc/extensions/cp/apple/finalcutpro/export/ReplaceAlert.lua line 32

#Methods

Signaturecp.apple.finalcutpro.export.ReplaceAlert:pressReplace() -> cp.apple.finalcutpro.export.ReplaceAlert
TypeMethod
DescriptionPresses the Replace button.
Parameters
  • None
Returns
  • The cp.apple.finalcutpro.export.ReplaceAlert object for method chaining.
NotesNone
ExamplesNone
Sourcesrc/extensions/cp/apple/finalcutpro/export/ReplaceAlert.lua line 52