Get clipboard text
Read text from the clipboard, optionally waiting until text arrives (e.g. after pressing CTRL+C).
Command in the Mouse and keyboard toolkit · id ooa.desktop/clipboard_get · 2 inputs, 2 outputs
Inputs
| Input | Type | Required | Default | What it is |
|---|---|---|---|---|
| Wait (seconds) | Number | No | 0 | Keep checking up to this long while the clipboard is empty or busy; 0 reads once. |
| Trim | Boolean | No | false | Remove spaces and line breaks at both ends. |
Outputs
| Output | Type | What it is |
|---|---|---|
| text | String | Clipboard text, empty when it holds no text. |
| has_text | Boolean | True when the clipboard held text. |