#plugins.finalcutpro.pasteboard.shared
Shared Pasteboard Plugin.
#API Overview
Functions - API calls offered directly by the extension
- copyWithCustomClipName
- copyWithCustomClipNameAndFolder
- doDecodeHistoryItem
- doPasteHistoryItem
- generateSharedPasteboardMenu
- getFolderNames
- getHistory
- getHistoryPath
- getLocalFolderName
- overrideNextFolderName
- setHistory
- update
- validRootPath
Fields - Variables which can only be accessed from an object returned by a constructor
#API Documentation
#Functions
Signature | plugins.finalcutpro.pasteboard.shared.copyWithCustomClipName() -> None |
Type | Function |
Description | Triggers a copy with custom clip name action. |
Parameters |
|
Returns |
|
Notes | None |
Examples | None |
Source | src/plugins/finalcutpro/pasteboard/shared.lua line 198 |
Signature | plugins.finalcutpro.pasteboard.shared.copyWithCustomClipNameAndFolder() -> none |
Type | Function |
Description | Copy with Custom Label & Folder. |
Parameters |
|
Returns |
|
Notes | None |
Examples | None |
Source | src/plugins/finalcutpro/pasteboard/shared.lua line 282 |
Signature | plugins.finalcutpro.pasteboard.shared.doDecodeHistoryItem(folderName, index) -> string | nil |
Type | Function |
Description | Decodes a Paste History Item. |
Parameters |
|
Returns |
|
Notes | None |
Examples | None |
Source | src/plugins/finalcutpro/pasteboard/shared.lua line 306 |
Signature | plugins.finalcutpro.pasteboard.shared.doPasteHistoryItem(folderName, index) -> none |
Type | Function |
Description | Paste History Item. |
Parameters |
|
Returns |
|
Notes | None |
Examples | None |
Source | src/plugins/finalcutpro/pasteboard/shared.lua line 330 |
Signature | plugins.finalcutpro.pasteboard.shared.generateSharedPasteboardMenu() -> table |
Type | Function |
Description | Generates the shared pasteboard menu. |
Parameters |
|
Returns |
|
Notes | None |
Examples | None |
Source | src/plugins/finalcutpro/pasteboard/shared.lua line 363 |
Signature | plugins.finalcutpro.pasteboard.shared.getFolderNames() -> table |
Type | Function |
Description | Returns the list of folder names as an array of strings. |
Parameters |
|
Returns |
|
Notes | None |
Examples | None |
Source | src/plugins/finalcutpro/pasteboard/shared.lua line 143 |
Signature | plugins.finalcutpro.pasteboard.shared.getHistory(folderName) -> table |
Type | Function |
Description | Gets the history for a supplied folder name. |
Parameters |
|
Returns |
|
Notes | None |
Examples | None |
Source | src/plugins/finalcutpro/pasteboard/shared.lua line 232 |
Signature | plugins.finalcutpro.pasteboard.shared.getHistoryPath(folderName, fileExtension) -> string |
Type | Function |
Description | Gets the History Path. |
Parameters |
|
Returns |
|
Notes | None |
Examples | None |
Source | src/plugins/finalcutpro/pasteboard/shared.lua line 217 |
Signature | plugins.finalcutpro.pasteboard.shared.getLocalFolderName() -> string |
Type | Function |
Description | Gets the local folder name. |
Parameters |
|
Returns |
|
Notes | None |
Examples | None |
Source | src/plugins/finalcutpro/pasteboard/shared.lua line 172 |
Signature | plugins.finalcutpro.pasteboard.shared.overrideNextFolderName(overrideFolder) -> none |
Type | Function |
Description | Overrides the folder name for the next clip which is copied from Final Cut Pro to the specified value. Once the override has been used, the standard folder name via mod.getLocalFolderName() will be used for subsequent copy operations. |
Parameters |
|
Returns |
|
Notes | None |
Examples | None |
Source | src/plugins/finalcutpro/pasteboard/shared.lua line 185 |
Signature | plugins.finalcutpro.pasteboard.shared.setHistory(folderName) -> none |
Type | Function |
Description | Clears the history. |
Parameters |
|
Returns |
|
Notes | None |
Examples | None |
Source | src/plugins/finalcutpro/pasteboard/shared.lua line 269 |
Signature | plugins.finalcutpro.pasteboard.shared.update() -> none |
Type | Function |
Description | Starts or stops the Shared Pasteboard watcher. |
Parameters |
|
Returns |
|
Notes | None |
Examples | None |
Source | src/plugins/finalcutpro/pasteboard/shared.lua line 112 |
Signature | plugins.finalcutpro.pasteboard.shared.validRootPath() -> boolean |
Type | Function |
Description | Gets whether or not the current root path exists. |
Parameters |
|
Returns |
|
Notes | None |
Examples | None |
Source | src/plugins/finalcutpro/pasteboard/shared.lua line 51 |
#Fields
Signature | plugins.finalcutpro.pasteboard.shared.enabled <cp.prop: boolean> |
Type | Field |
Description | Gets whether or not the shared pasteboard is enabled as a boolean. |
Notes | None |
Source | src/plugins/finalcutpro/pasteboard/shared.lua line 41 |
Signature | plugins.finalcutpro.pasteboard.shared.path <cp.prop: string> |
Type | Field |
Description | The Shared Pasteboard Root Path. |
Notes | None |
Source | src/plugins/finalcutpro/pasteboard/shared.lua line 46 |