docs » plugins.finalcutpro.viewer.overlays
Final Cut Pro Viewer Overlays.
Signature
plugins.finalcutpro.viewer.overlays.activeMemory <cp.prop: number>
Type
Variable
Description
Viewer Custom Grid Color as HTML value
Signature
plugins.finalcutpro.viewer.overlays.basicGridEnabled <cp.prop: boolean>
Type
Variable
Description
Is Viewer Grid Enabled?
Signature
plugins.finalcutpro.viewer.overlays.capslock <cp.prop: boolean>
Type
Variable
Description
Toggle Viewer Overlays with Caps Lock.
Signature
plugins.finalcutpro.viewer.overlays.crossHairAlpha <cp.prop: number>
Type
Variable
Description
Viewer Grid Alpha
Signature
plugins.finalcutpro.viewer.overlays.crossHairColor <cp.prop: string>
Type
Variable
Description
Viewer Grid Color as HTML value
Signature
plugins.finalcutpro.viewer.overlays.crossHairEnabled <cp.prop: boolean>
Type
Variable
Description
Is Viewer Cross Hair Enabled?
Signature
plugins.finalcutpro.viewer.overlays.customCrossHairColor <cp.prop: table>
Type
Variable
Description
Viewer Custom Cross Hair Color as HTML value
Signature
plugins.finalcutpro.viewer.overlays.customGridColor <cp.prop: string>
Type
Variable
Description
Viewer Custom Grid Color as HTML value
Signature
plugins.finalcutpro.viewer.overlays.customGuideColor <cp.prop: table>
Type
Variable
Description
Viewer Custom Guide Color as HTML value
Signature
plugins.finalcutpro.viewer.overlays.disabled <cp.prop: boolean>
Type
Variable
Description
Are all the Viewer Overlay's disabled?
Signature
plugins.finalcutpro.viewer.overlays.draggableGuideEnabled <cp.prop: table>
Type
Variable
Description
Is Viewer Grid Enabled?
Signature
plugins.finalcutpro.viewer.overlays.enableViewerRightClick <cp.prop: boolean>
Type
Variable
Description
Allow the user to right click on the top of the viewer to access the menu?
Signature
plugins.finalcutpro.viewer.overlays.gridAlpha <cp.prop: number>
Type
Variable
Description
Viewer Grid Alpha
Signature
plugins.finalcutpro.viewer.overlays.gridColor <cp.prop: string>
Type
Variable
Description
Viewer Grid Color as HTML value
Signature
plugins.finalcutpro.viewer.overlays.gridSpacing <cp.prop: number>
Type
Variable
Description
Viewer Custom Grid Color as HTML value
Signature
plugins.finalcutpro.viewer.overlays.guideAlpha <cp.prop: table>
Type
Variable
Description
Viewer Guide Alpha
Signature
plugins.finalcutpro.viewer.overlays.guideColor <cp.prop: table>
Type
Variable
Description
Viewer Guide Color as HTML value
Signature
plugins.finalcutpro.viewer.overlays.guidePosition <cp.prop: table>
Type
Variable
Description
Guide Position.
Signature
plugins.finalcutpro.viewer.overlays.letterboxEnabled <cp.prop: boolean>
Type
Variable
Description
Is Viewer Letterbox Enabled?
Signature
plugins.finalcutpro.viewer.overlays.letterboxHeight <cp.prop: number>
Type
Variable
Description
Letterbox Height
Signature
plugins.finalcutpro.viewer.overlays.stillsLayout <cp.prop: string>
Type
Variable
Description
Stills layout.
Signature
plugins.finalcutpro.viewer.overlays.deleteMemory() -> none
Type
Function
Description
Deletes a memory.
Parameters
id - An identifier in the form of a number.
Returns
Signature
plugins.finalcutpro.viewer.overlays.disableAllDraggableGuides() -> none
Type
Function
Description
Disable all draggable guides.
Parameters
Returns
Signature
plugins.finalcutpro.viewer.overlays.draggableGuidesEnabled() -> boolean
Type
Function
Description
Are any draggable guides enabled?
Parameters
Returns
true
if at least one draggable guide is enabled otherwise false
Signature
plugins.finalcutpro.viewer.overlays.enableAllDraggableGuides() -> none
Type
Function
Description
Enable all draggable guides.
Parameters
Returns
Signature
plugins.finalcutpro.viewer.overlays.getCustomGuideColor(id) -> none
Type
Function
Description
Get Custom Guide Color.
Parameters
id - The ID of the guide.
Returns
Signature
plugins.finalcutpro.viewer.overlays.getDraggableGuideEnabled(id) -> none
Type
Function
Description
Get Guide Enabled.
Parameters
id - The ID of the guide.
Returns
Signature
plugins.finalcutpro.viewer.overlays.getGuideAlpha() -> none
Type
Function
Description
Get Guide Alpha.
Parameters
id - The ID of the guide.
Returns
Signature
plugins.finalcutpro.viewer.overlays.getGuideColor(id) -> none
Type
Function
Description
Get Guide Color.
Parameters
id - The ID of the guide.
Returns
Signature
plugins.finalcutpro.viewer.overlays.getGuidePosition() -> none
Type
Function
Description
Get Guide Position.
Parameters
id - The ID of the guide.
Returns
| Signature | plugins.finalcutpro.viewer.overlays.getMemory(id) -> image | nil
|
| -----------------------------------------------------|---------------------------------------------------------------------------------------------------------|
| Type | Function |
| Description | Gets an image from memory. |
| Parameters |
id - The ID of the memory you want to retrieve. |
| Returns | The memory as a hs.image
or nil
if the memory could not be retrieved. |
| Signature | plugins.finalcutpro.viewer.overlays.getStillsFolderPath() -> string | nil
|
| -----------------------------------------------------|---------------------------------------------------------------------------------------------------------|
| Type | Function |
| Description | Gets the stills folder path. |
| Parameters |
|
| Returns | The stills folder path as a string or nil
if an error occurs. |
Signature
plugins.finalcutpro.viewer.overlays.hide() -> none
Type
Function
Description
Hides the Viewer Grid.
Parameters
Returns
Signature
plugins.finalcutpro.viewer.overlays.importMemory() -> none
Type
Function
Description
Import a file to memory.
Parameters
id - An identifier in the form of a number.
Returns
Signature
plugins.finalcutpro.viewer.overlays.resetDraggableGuide(id) -> none
Type
Function
Description
Reset a specific Draggable Guide.
Parameters
id - The ID of the guide.
Returns
Signature
plugins.finalcutpro.viewer.overlays.resetOverlays() -> none
Type
Function
Description
Resets all overlays to their default values.
Parameters
Returns
Signature
plugins.finalcutpro.viewer.overlays.saveMemory() -> none
Type
Function
Description
Saves a still frame to file.
Parameters
id - An identifier in the form of a number.
Returns
Signature
plugins.finalcutpro.viewer.overlays.setCustomCrossHairColor() -> none
Type
Function
Description
Pops up a Color Dialog box allowing the user to select a custom colour for cross hairs.
Parameters
Returns
Signature
plugins.finalcutpro.viewer.overlays.setCustomGridColor() -> none
Type
Function
Description
Pops up a Color Dialog box allowing the user to select a custom colour for grid lines.
Parameters
Returns
Signature
plugins.finalcutpro.viewer.overlays.setCustomGuideColor() -> none
Type
Function
Description
Pops up a Color Dialog box allowing the user to select a custom colour for guide lines.
Parameters
Returns
Signature
plugins.finalcutpro.viewer.overlays.setGridAlpha(value) -> none
Type
Function
Description
Sets Grid Alpha.
Parameters
value - The value you want to set.
Returns
Signature
plugins.finalcutpro.viewer.overlays.setGridColor(value) -> none
Type
Function
Description
Sets Grid Color.
Parameters
value - The value you want to set.
Returns
Signature
plugins.finalcutpro.viewer.overlays.setGridSpacing(value) -> none
Type
Function
Description
Sets Grid Spacing.
Parameters
value - The value you want to set.
Returns
Signature
plugins.finalcutpro.viewer.overlays.setGuideAlpha(value) -> none
Type
Function
Description
Sets Guide Alpha.
Parameters
id - The ID of the guide. value - The value you want to set.
Returns
Signature
plugins.finalcutpro.viewer.overlays.setGuideColor(value) -> none
Type
Function
Description
Sets Guide Color.
Parameters
id - The ID of the guide. value - The value you want to set.
Returns
Signature
plugins.finalcutpro.viewer.overlays.show() -> none
Type
Function
Description
Show's the Viewer Grid.
Parameters
Returns
Signature
plugins.finalcutpro.viewer.overlays.toggleDraggableGuide(id) -> none
Type
Function
Description
Toggle Guide Enabled.
Parameters
id - The ID of the guide.
Returns
Signature
plugins.finalcutpro.viewer.overlays.update() -> none
Type
Function
Description
Updates the Viewer Grid.
Parameters
Returns
Signature
plugins.finalcutpro.viewer.overlays.viewMemory(id) -> none
Type
Function
Description
View a memory.
Parameters
id - The ID of the memory you want to retrieve.
Returns