GoToPrompt

Last updated 3 months ago

Go To Prompt.

API Overview

  • Functions - API calls offered directly by the extension

  • 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.GoToPrompt.matches(element) -> boolean

Type

Function

Description

Checks to see if an element matches what we think it should be.

Parameters

Returns

new

Signature

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

Type

Function

Description

Creates a new Go To Prompt object.

Parameters

Returns

Fields

isShowing

Signature

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

Type

Field

Description

Is the 'Go To' prompt showing?

Methods

app

Signature

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

Type

Method

Description

Returns the App instance representing Final Cut Pro.

Parameters

Returns

hide

Signature

cp.apple.finalcutpro.export.GoToPrompt:hide() -> cp.apple.finalcutpro.export.GoToPrompt

Type

Method

Description

Hides the Go To Prompt

Parameters

Returns

parent

Signature

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

Type

Method

Description

Returns the Parent object.

Parameters

Returns

Signature

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

Type

Method

Description

Presses the Cancel Button.

Parameters

Returns

Signature

cp.apple.finalcutpro.export.GoToPrompt:pressDefault() -> cp.apple.finalcutpro.export.GoToPrompt

Type

Method

Description

Presses the Default Button.

Parameters

Returns

setValue

Signature

cp.apple.finalcutpro.export.GoToPrompt:setValue(value) -> cp.apple.finalcutpro.export.GoToPrompt

Type

Method

Description

Sets the value of the text box within the Go To Prompt.

Parameters

Returns

show

Signature

cp.apple.finalcutpro.export.GoToPrompt:show() -> cp.apple.finalcutpro.export.GoToPrompt

Type

Method

Description

Shows the Go To Prompt

Parameters

Returns

UI

Signature

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

Type

Method

Description

Returns the Go To Prompt Accessibility Object

Parameters

Returns