docs » cp.apple.finalcutpro.export.GoToPrompt
Go To Prompt.
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
element - An axuielementObject to check.
Returns
true if matches otherwise false
Signature
cp.apple.finalcutpro.export.GoToPrompt.new(app) -> GoToPrompt
Type
Function
Description
Creates a new Go To Prompt object.
Parameters
app - The cp.apple.finalcutpro object.
Returns
Signature
cp.apple.finalcutpro.export.GoToPrompt.cancel <cp.ui.Button>
Type
Field
Description
The "Cancel" Button.
Signature
cp.apple.finalcutpro.export.GoToPrompt.go <cp.ui.Button>
Type
Field
Description
The "Go" Button.
Signature
cp.apple.finalcutpro.export.GoToPrompt.valueCombo <cp.ui.ComboBox>
Type
Field
Description
The ComboBox containing the folder value, if available.
Signature
cp.apple.finalcutpro.export.GoToPrompt.valueText <cp.ui.TextField>
Type
Field
Description
The TextField containing the folder value, if available.
Signature
cp.apple.finalcutpro.export.GoToPrompt:hide() -> cp.apple.finalcutpro.export.GoToPrompt
Type
Method
Description
Hides the Go To Prompt
Parameters
Returns
The cp.apple.finalcutpro.export.GoToPrompt object for method chaining.
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
value - The value of the text box as a string.
Returns
The cp.apple.finalcutpro.export.GoToPrompt object for method chaining.
Signature
cp.apple.finalcutpro.export.GoToPrompt:show() -> cp.apple.finalcutpro.export.GoToPrompt
Type
Method
Description
Shows the Go To Prompt
Parameters
Returns
The cp.apple.finalcutpro.export.GoToPrompt object for method chaining.
Signature
cp.apple.finalcutpro.export.GoToPrompt:value([newValue]) -> string
Type
Method
Description
Returns the current path value, or nil.
Parameters
newValue - (optional) The new value for the path.
Returns
The current value of the path.
| Signature | cp.apple.finalcutpro.export.GoToPrompt:valueField() -> TextField | ComboField |
| -----------------------------------------------------|---------------------------------------------------------------------------------------------------------|
| Type | Method |
| Description | Returns either the valueText or valueCombo, depending what is available on-screen. |
| Parameters |
|
| Returns | The TextField or ComboField containing the value. |