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

Latest commit

 

History

History
98 lines (81 loc) · 7.28 KB

plugins.finalcutpro.pasteboard.history.md

File metadata and controls

98 lines (81 loc) · 7.28 KB

docs » plugins.finalcutpro.pasteboard.history


Pasteboard History

API Overview

API Documentation

Constants

Signature plugins.finalcutpro.pasteboard.history.FILE_NAME -> string
Type Constant
Description File name of settings file.
Signature plugins.finalcutpro.pasteboard.history.FOLDER_NAME -> string
Type Constant
Description Folder Name where settings file is contained.
Signature plugins.finalcutpro.pasteboard.history.HISTORY_MAXIMUM_SIZE -> number
Type Constant
Description Maximum Size of Pasteboard History

Functions

Signature plugins.finalcutpro.pasteboard.history.addHistoryItem(data, label) -> none
Type Function
Description Adds an item to the Pasteboard history.
Parameters
  • None
Returns
  • None
Signature plugins.finalcutpro.pasteboard.history.clearHistory() -> none
Type Function
Description Clears the Pasteboard History.
Parameters
  • None
Returns
  • None
Signature plugins.finalcutpro.pasteboard.history.doPasteHistoryItem(index) -> cp.rx.go.Statement
Type Function
Description Returns a function which will paste a Pasteboard History Item when executed.
Parameters
  • index - The index of the Pasteboard history item.
Returns
Signature plugins.finalcutpro.pasteboard.history.init(manager) -> Pasteboard History Object
Type Function
Description Initialises the module.
Parameters
  • manager - The Pasteboard manager object.
Returns
  • Pasteboard History Object
Signature plugins.finalcutpro.pasteboard.history.update() -> none
Type Function
Description Enable or disable the Pasteboard History.
Parameters
  • None
Returns
  • None

Fields

Signature plugins.finalcutpro.pasteboard.history._history <cp.prop: table>
Type Field
Description Contains all the saved Touch Bar Buttons
Signature plugins.finalcutpro.pasteboard.history.enabled <cp.prop: boolean>
Type Field
Description Enable or disable the Pasteboard History.