Skip to content
This repository has been archived by the owner on Jun 9, 2023. It is now read-only.

Latest commit

 

History

History
45 lines (35 loc) · 2.93 KB

cp.apple.finalcutpro.export.ReplaceAlert.md

File metadata and controls

45 lines (35 loc) · 2.93 KB

docs » 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

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

Constructors

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.

Methods

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.