Project

General

Profile

Clipboard » History » Version 7

Per Amundsen, 02/16/2023 01:37 AM

1 2 Per Amundsen
_Added in 1.9.0_
2
3 4 Per Amundsen
*/clipboard [-an] [text]*
4 1 Per Amundsen
5
Copies <text> to the clipboard.
6
7 4 Per Amundsen
_If [text] is empty, clipboard is cleared._
8 3 Per Amundsen
9 1 Per Amundsen
*Switches*
10
11 7 Per Amundsen
table(ktable).
12
|*Switch*|*Description*|
13
| -a | Appends the text to current clipboard text instead. |
14
| -n | Adds [[$crlf]] at the end of the text. |
15 1 Per Amundsen
16
*Parameters*
17
18 7 Per Amundsen
table(ktable).
19
|*Parameter*|*Description*|
20
| [text] | Text to add. |
21 1 Per Amundsen
22
*Example*
23
<pre>
24 6 Per Amundsen
; Adds 'clip' to the clipboard.
25 1 Per Amundsen
/clipoard clip
26
27 6 Per Amundsen
; Append 'board' to the clipboard so result becomes 'clipboard'.
28 1 Per Amundsen
/clipoard -a board
29
</pre>