clipboardDescription:
The clipboard executor is used to copy data onto the clipboard.
Parent: execute, then, else
Value (simple form): string specifying the new text to copy to the clipboard
Value (key/value form):
clipboard: any, optional, specifying the new data to copy to the clipboardclear: boolean, optional, specifying if the clipboard contents should be clearedformat: string, optional, specifying the data clipboard format# simple form
- clipboard: (string)
# simple example
- clipboard: |
555 North Main St.
Some City, OH
# key/value form
- clipboard: (string, required if `clear` not specified)
clear: (boolean, required if `set` not specified)
format: (string, optional)
# key/value example
- clipboard: |
<html>
...
</html>
format: html
EXAMPLE
# edits the content of the clipboard, resetting it on the clipboard
commands:
- name: edit my clipboard
triggers:
- hotkey: '{shift-win-m}'
- edit my clipboard
execute:
- prompt: 'Clipboard:'
title: TEXT ENTRY
text: '{clipboard.text}'
- clipboard: '{prompt.text}'
Status: ✅ IMPLEMENTED