# cp.apple.finalcutpro.export.ReplaceAlert

Replace Alert


# API Overview

Functions - API calls offered directly by the extension

  • matches

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

  • ReplaceAlert

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

  • pressReplace

# API Documentation

# Functions

# matches

Signature cp.apple.finalcutpro.export.ReplaceAlert.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/export/ReplaceAlert.lua line 16

# Constructors

# ReplaceAlert

Signature cp.apple.finalcutpro.export.ReplaceAlert(app) -> ReplaceAlert
Type Constructor
Description Creates a new Replace Alert object.
Parameters
  • app - The cp.apple.finalcutpro object.
Returns
  • A new ReplaceAlert object.
Notes None
Examples None
Source src/extensions/cp/apple/finalcutpro/export/ReplaceAlert.lua line 32

# Methods

# pressReplace

Signature cp.apple.finalcutpro.export.ReplaceAlert:pressReplace() -> cp.apple.finalcutpro.export.ReplaceAlert
Type Method
Description Presses the Replace button.
Parameters
  • None
Returns
  • The cp.apple.finalcutpro.export.ReplaceAlert object for method chaining.
Notes None
Examples None
Source src/extensions/cp/apple/finalcutpro/export/ReplaceAlert.lua line 52