Skip to content
This repository was archived by the owner on Jun 9, 2023. It is now read-only.

Latest commit

 

History

History
120 lines (103 loc) · 10.2 KB

File metadata and controls

120 lines (103 loc) · 10.2 KB

docs » plugins.finalcutpro.browser.playhead


Browser Playhead Plugin.

API Overview

API Documentation

Functions

Signature plugins.finalcutpro.browser.playhead.changeHighlightColor([value]) -> none
Type Function
Description Prompts the user to change the Playhead Highlight Colour.
Parameters
  • value - An RGB table with the selected colour (see hs.drawing.color)
Returns
  • None
Signature plugins.finalcutpro.browser.playhead.deleteHighlight() -> none
Type Function
Description Delete's the highlight if it's currently visible on the screen.
Parameters
  • None
Returns
  • None
Signature plugins.finalcutpro.browser.playhead.getHighlightColor() -> table
Type Function
Description Returns the current highlight colour.
Parameters
  • None
Returns
  • An RGB table with the selected colour (see hs.drawing.color) or nil
Signature plugins.finalcutpro.browser.playhead.getHighlightCustomColor() -> table
Type Function
Description Returns the current custom highlight colour.
Parameters
  • None
Returns
  • An RGB table with the selected colour (see hs.drawing.color) or nil
Signature plugins.finalcutpro.browser.playhead.getHighlightShape() -> string
Type Function
Description Returns the current highlight shape.
Parameters
  • None
Returns
  • "Rectangle", "Circle" or "Diamond" or nil.
Signature plugins.finalcutpro.browser.playhead.getHighlightTime() -> number
Type Function
Description Returns the current highlight playhead time.
Parameters
  • None
Returns
  • A number or nil
Signature plugins.finalcutpro.browser.playhead.highlight() -> none
Type Function
Description Highlight's the Final Cut Pro Browser Playhead.
Parameters
  • None
Returns
  • None
Signature plugins.finalcutpro.browser.playhead.highlightFrame([frame]) -> none
Type Function
Description Highlights a specific frame.
Parameters
  • frame - Frame as per hs.geometry.rect
Returns
  • None
Signature plugins.finalcutpro.browser.playhead.setHighlightColor([value]) -> none
Type Function
Description Sets the Playhead Highlight Colour.
Parameters
  • value - An RGB table with the selected colour (see hs.drawing.color)
Returns
  • None
Signature plugins.finalcutpro.browser.playhead.setHighlightCustomColor([value]) -> none
Type Function
Description Sets the Custom Playhead Highlight Colour.
Parameters
  • value - An RGB table with the selected colour (see hs.drawing.color)
Returns
  • None
Signature plugins.finalcutpro.browser.playhead.setHighlightShape([value]) -> none
Type Function
Description Sets the Custom Playhead Highlight Shape.
Parameters
  • value - A string which can be "Rectangle", "Circle" or "Diamond".
Returns
  • None
Signature plugins.finalcutpro.browser.playhead.setHighlightTime([value]) -> none
Type Function
Description Sets the Custom Playhead Highlight Time.
Parameters
  • value - A number
Returns
  • None