Skip to content

Latest commit

 

History

History
206 lines (177 loc) · 19.7 KB

File metadata and controls

206 lines (177 loc) · 19.7 KB

docs » plugins.finalcutpro.hud


Final Cut Pro HUD.

API Overview

API Documentation

Constants

Signature plugins.finalcutpro.hud.position <cp.prop: table>
Type Constant
Description Returns the last HUD frame saved in settings.

Functions

Signature plugins.finalcutpro.hud.assignButton() -> none
Type Function
Description Assigns a HUD button.
Parameters
  • button - which button you want to assign.
Returns
  • None
Signature plugins.finalcutpro.hud.choices() -> none
Type Function
Description Choices for the Assign HUD Button chooser.
Parameters
  • None
Returns
  • Table
Signature plugins.finalcutpro.hud.delete()
Type Function
Description Deletes the existing HUD if it exists
Parameters
  • None
Returns
  • None
Signature plugins.finalcutpro.hud.generateHTML() -> none
Type Function
Description Generate the HTML for the HUD.
Parameters
  • None
Returns
  • None
Signature plugins.finalcutpro.hud.getButton() -> table
Type Function
Description Gets the button values from settings.
Parameters
  • index - Index of the Button
  • defaultValue - Default Value of the Button
Returns
  • Button value
Signature plugins.finalcutpro.hud.getButtonCommand() -> string
Type Function
Description Gets the button command.
Parameters
  • index - Index of the Button
Returns
  • Button Command
Signature plugins.finalcutpro.hud.getButtonText() -> string
Type Function
Description Gets the button text.
Parameters
  • index - Index of the Button
Returns
  • Button Label or Unassigned Value
Signature plugins.finalcutpro.hud.getButtonURL() -> string
Type Function
Description Gets the button URL.
Parameters
  • index - Index of the Button
Returns
  • Button URL
Signature plugins.finalcutpro.hud.hide() -> none
Type Function
Description Hide the HUD.
Parameters
  • None
Returns
  • None
Signature plugins.finalcutpro.hud.init() -> none
Type Function
Description Initialise HUD Module.
Parameters
  • None
Returns
  • None
Signature plugins.finalcutpro.hud.javaScriptCallback() -> none
Type Function
Description Javascript Callback
Parameters
  • message - the message for the callback
Returns
  • None
Signature plugins.finalcutpro.hud.new()
Type Function
Description Creates a new HUD
Parameters
  • None
Returns
  • None
Signature plugins.finalcutpro.hud.refresh() -> none
Type Function
Description Refresh the HUD's content.
Parameters
  • None
Returns
  • None
Signature plugins.finalcutpro.hud.setButton() -> string
Type Function
Description Sets the button.
Parameters
  • index - Index of the Button
  • value - Value you want to set the button to.
Returns
  • None
Signature plugins.finalcutpro.hud.show() -> none
Type Function
Description Show the HUD.
Parameters
  • None
Returns
  • None
Signature plugins.finalcutpro.hud.updateVisibility() -> none
Type Function
Description Update the visibility of the HUD.
Parameters
  • None
Returns
  • None
Signature plugins.finalcutpro.hud.visible() -> none
Type Function
Description Is the HUD visible?
Parameters
  • None
Returns
  • true or false

Fields

Signature plugins.finalcutpro.hud.buttonsShown <cp.prop: boolean>
Type Field
Description Should Buttons in the HUD be shown?
Signature plugins.finalcutpro.hud.dropTargetsShown <cp.prop: boolean>
Type Field
Description Should Drop Targets in the HUD be enabled?
Signature plugins.finalcutpro.hud.enabled <cp.prop: boolean>
Type Field
Description Is the HUD enabled in the settings?
Signature plugins.finalcutpro.hud.inspectorShown <cp.prop: boolean>
Type Field
Description Should the Inspector in the HUD be shown?