clipboard

class platypush.plugins.clipboard.ClipboardPlugin(**kwargs)[source]

Plugin to programmatically copy strings to your system clipboard and get the current clipboard content.

Requires:
  • pyperclip (pip install pyperclip)

copy(text)[source]

Copies a text to the OS clipboard

Parameters

text (str) – Text to copy

paste()[source]

Get the current content of the clipboard