#plugins.finalcutpro.browser.playhead

Browser Playhead Plugin.


#API Overview

Functions - API calls offered directly by the extension


#API Documentation

#Functions

Signatureplugins.finalcutpro.browser.playhead.changeHighlightColor([value]) -> none
TypeFunction
DescriptionPrompts the user to change the Playhead Highlight Colour.
Parameters
  • value - An RGB table with the selected colour (see hs.drawing.color)
Returns
  • None
NotesNone
ExamplesNone
Sourcesrc/plugins/finalcutpro/browser/playhead.lua line 100

Signatureplugins.finalcutpro.browser.playhead.deleteHighlight() -> none
TypeFunction
DescriptionDelete's the highlight if it's currently visible on the screen.
Parameters
  • None
Returns
  • None
NotesNone
ExamplesNone
Sourcesrc/plugins/finalcutpro/browser/playhead.lua line 273

Signatureplugins.finalcutpro.browser.playhead.getHighlightColor() -> table
TypeFunction
DescriptionReturns the current highlight colour.
Parameters
  • None
Returns
  • An RGB table with the selected colour (see hs.drawing.color) or nil
NotesNone
ExamplesNone
Sourcesrc/plugins/finalcutpro/browser/playhead.lua line 48

Signatureplugins.finalcutpro.browser.playhead.getHighlightCustomColor() -> table
TypeFunction
DescriptionReturns the current custom highlight colour.
Parameters
  • None
Returns
  • An RGB table with the selected colour (see hs.drawing.color) or nil
NotesNone
ExamplesNone
Sourcesrc/plugins/finalcutpro/browser/playhead.lua line 74

Signatureplugins.finalcutpro.browser.playhead.getHighlightShape() -> string
TypeFunction
DescriptionReturns the current highlight shape.
Parameters
  • None
Returns
  • "Rectangle", "Circle" or "Diamond" or nil.
NotesNone
ExamplesNone
Sourcesrc/plugins/finalcutpro/browser/playhead.lua line 123

Signatureplugins.finalcutpro.browser.playhead.getHighlightTime() -> number
TypeFunction
DescriptionReturns the current highlight playhead time.
Parameters
  • None
Returns
  • A number or nil
NotesNone
ExamplesNone
Sourcesrc/plugins/finalcutpro/browser/playhead.lua line 149

Signatureplugins.finalcutpro.browser.playhead.highlight() -> none
TypeFunction
DescriptionHighlight's the Final Cut Pro Browser Playhead.
Parameters
  • None
Returns
  • None
NotesNone
ExamplesNone
Sourcesrc/plugins/finalcutpro/browser/playhead.lua line 175

Signatureplugins.finalcutpro.browser.playhead.highlightFrame([frame]) -> none
TypeFunction
DescriptionHighlights a specific frame.
Parameters
  • frame - Frame as per hs.geometry.rect
Returns
  • None
NotesNone
ExamplesNone
Sourcesrc/plugins/finalcutpro/browser/playhead.lua line 200

Signatureplugins.finalcutpro.browser.playhead.setHighlightColor([value]) -> none
TypeFunction
DescriptionSets the Playhead Highlight Colour.
Parameters
  • value - An RGB table with the selected colour (see hs.drawing.color)
Returns
  • None
NotesNone
ExamplesNone
Sourcesrc/plugins/finalcutpro/browser/playhead.lua line 61

Signatureplugins.finalcutpro.browser.playhead.setHighlightCustomColor([value]) -> none
TypeFunction
DescriptionSets the Custom Playhead Highlight Colour.
Parameters
  • value - An RGB table with the selected colour (see hs.drawing.color)
Returns
  • None
NotesNone
ExamplesNone
Sourcesrc/plugins/finalcutpro/browser/playhead.lua line 87

Signatureplugins.finalcutpro.browser.playhead.setHighlightShape([value]) -> none
TypeFunction
DescriptionSets the Custom Playhead Highlight Shape.
Parameters
  • value - A string which can be "Rectangle", "Circle" or "Diamond".
Returns
  • None
NotesNone
ExamplesNone
Sourcesrc/plugins/finalcutpro/browser/playhead.lua line 136

Signatureplugins.finalcutpro.browser.playhead.setHighlightTime([value]) -> none
TypeFunction
DescriptionSets the Custom Playhead Highlight Time.
Parameters
  • value - A number
Returns
  • None
NotesNone
ExamplesNone
Sourcesrc/plugins/finalcutpro/browser/playhead.lua line 162