#cp.apple.finalcutpro.export.GoToPrompt

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

Signaturecp.apple.finalcutpro.export.GoToPrompt.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/GoToPrompt.lua line 26

Signaturecp.apple.finalcutpro.export.GoToPrompt.new(app) -> GoToPrompt
TypeFunction
DescriptionCreates a new Go To Prompt object.
Parameters
  • app - The cp.apple.finalcutpro object.
Returns
  • A new GoToPrompt object.
NotesNone
ExamplesNone
Sourcesrc/extensions/cp/apple/finalcutpro/export/GoToPrompt.lua line 43

#Fields

Signaturecp.apple.finalcutpro.export.GoToPrompt.cancel <cp.ui.Button>
TypeField
DescriptionThe "Cancel" Button.
NotesNone
Sourcesrc/extensions/cp/apple/finalcutpro/export/GoToPrompt.lua line 96

Signaturecp.apple.finalcutpro.export.GoToPrompt.go <cp.ui.Button>
TypeField
DescriptionThe "Go" Button.
NotesNone
Sourcesrc/extensions/cp/apple/finalcutpro/export/GoToPrompt.lua line 105

Signaturecp.apple.finalcutpro.export.GoToPrompt.valueCombo <cp.ui.ComboBox>
TypeField
DescriptionThe ComboBox containing the folder value, if available.
NotesNone
Sourcesrc/extensions/cp/apple/finalcutpro/export/GoToPrompt.lua line 128

Signaturecp.apple.finalcutpro.export.GoToPrompt.valueText <cp.ui.TextField>
TypeField
DescriptionThe TextField containing the folder value, if available.
NotesNone
Sourcesrc/extensions/cp/apple/finalcutpro/export/GoToPrompt.lua line 119

#Methods

Signaturecp.apple.finalcutpro.export.GoToPrompt:hide() -> cp.apple.finalcutpro.export.GoToPrompt
TypeMethod
DescriptionHides the Go To Prompt
Parameters
  • None
Returns
  • The cp.apple.finalcutpro.export.GoToPrompt object for method chaining.
NotesNone
ExamplesNone
Sourcesrc/extensions/cp/apple/finalcutpro/export/GoToPrompt.lua line 83

Signaturecp.apple.finalcutpro.export.GoToPrompt:setValue(value) -> cp.apple.finalcutpro.export.GoToPrompt
TypeMethod
DescriptionSets the value of the text box within the Go To Prompt.
Parameters
  • value - The value of the text box as a string.
Returns
  • The cp.apple.finalcutpro.export.GoToPrompt object for method chaining.
NotesNone
ExamplesNone
Sourcesrc/extensions/cp/apple/finalcutpro/export/GoToPrompt.lua line 172

Signaturecp.apple.finalcutpro.export.GoToPrompt:show() -> cp.apple.finalcutpro.export.GoToPrompt
TypeMethod
DescriptionShows the Go To Prompt
Parameters
  • None
Returns
  • The cp.apple.finalcutpro.export.GoToPrompt object for method chaining.
NotesNone
ExamplesNone
Sourcesrc/extensions/cp/apple/finalcutpro/export/GoToPrompt.lua line 63

Signaturecp.apple.finalcutpro.export.GoToPrompt:value([newValue]) -> string
TypeMethod
DescriptionReturns the current path value, or nil.
Parameters
  • newValue - (optional) The new value for the path.
Returns
  • The current value of the path.
NotesNone
ExamplesNone
Sourcesrc/extensions/cp/apple/finalcutpro/export/GoToPrompt.lua line 159

Signaturecp.apple.finalcutpro.export.GoToPrompt:valueField() -> TextField | ComboField
TypeMethod
DescriptionReturns either the valueText or valueCombo, depending what is available on-screen.
Parameters
  • None
Returns
  • The TextField or ComboField containing the value.
NotesNone
ExamplesNone
Sourcesrc/extensions/cp/apple/finalcutpro/export/GoToPrompt.lua line 142