ReplaceAlert

Last updated 23 days ago

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

  • 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

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

Returns

Constructors

new

Signature

cp.apple.finalcutpro.export.ReplaceAlert.new(app) -> ReplaceAlert

Type

Constructor

Description

Creates a new Replace Alert object.

Parameters

Returns

Fields

isShowing

Signature

cp.apple.finalcutpro.export.ReplaceAlert.isShowing <cp.prop: boolean; read-only>

Type

Field

Description

Is the Replace File alert showing?

Methods

app

Signature

cp.apple.finalcutpro.export.ReplaceAlert:app() -> App

Type

Method

Description

Returns the App instance representing Final Cut Pro.

Parameters

Returns

getTitle

Signature

`cp.apple.finalcutpro.export.ReplaceAlert:getTitle() -> string

nil` </span>

Type

Method

Description

The title of the Replace Alert window or nil.

Parameters

Returns

hide

Signature

cp.apple.finalcutpro.export.ReplaceAlert:hide() -> none

Type

Method

Description

Hides the Replace Alert.

Parameters

Returns

parent

Signature

cp.apple.finalcutpro.export.ReplaceAlert:parent() -> object

Type

Method

Description

Returns the Parent object.

Parameters

Returns

Signature

cp.apple.finalcutpro.export.ReplaceAlert:pressCancel() -> cp.apple.finalcutpro.export.ReplaceAlert

Type

Method

Description

Presses the Cancel button.

Parameters

Returns

Signature

cp.apple.finalcutpro.export.ReplaceAlert:pressReplace() -> cp.apple.finalcutpro.export.ReplaceAlert

Type

Method

Description

Presses the Replace button.

Parameters

Returns

UI

Signature

cp.apple.finalcutpro.export.ReplaceAlert:UI() -> axuielementObject

Type

Method

Description

Returns the Replace Alert Accessibility Object

Parameters

Returns