\r followed by text to the user’s clipboard.
0x0D), then the input string. Not equivalent to setclipboard, which writes a string argument without any prefix.
Parameters
Returns
void
Aliases
write_clipboard
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
\r followed by text to the user’s clipboard.
toclipboard(text: string): ()
0x0D), then the input string. Not equivalent to setclipboard, which writes a string argument without any prefix.
| Parameter | Type | Description |
|---|---|---|
text | string | The text written after the carriage return prefix. |
void
write_clipboardtoclipboard("text to copy")
toclipboard("hello")
-- paste anywhere and you'll see "\rhello"