$cb
From Scriptwiki
$cb Returns the clipboard contents.
$cb(N,u) Returns $crlf delimited lines from text currently in the clipboard.
Note: The u option indicates that utf8 text should be returned.
[edit]
Properties
- len - returns the length of a line or the entire clipboard contents.
[edit]
Example
$cb(0) returns the number of lines in the clipboard
$cb(0).len return the total length of all lines in the clipboard
$cb(1) returns line 1 from the clipboard
$cb(1).len returns the length of line 1
[edit]
See Also
- /clipboard - Copies text to the clipboard.
