Project

General

Profile

Clipboard » History » Version 6

Per Amundsen, 11/28/2020 02:39 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
-a - Appends the text to current clipboard text instead.
12 5 Per Amundsen
-n - Adds [[$crlf]] at the end of the text.
13 1 Per Amundsen
14
*Parameters*
15
16 4 Per Amundsen
[text] - Text to add.
17 1 Per Amundsen
18
*Example*
19
<pre>
20 6 Per Amundsen
; Adds 'clip' to the clipboard.
21 1 Per Amundsen
/clipoard clip
22
23 6 Per Amundsen
; Append 'board' to the clipboard so result becomes 'clipboard'.
24 1 Per Amundsen
/clipoard -a board
25
</pre>