Difference between revisions of "$cb"
From Scriptwiki
m |
(No difference)
|
Latest revision as of 12:43, 12 April 2008
$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.
Properties
- len - returns the length of a line or the entire clipboard contents.
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
See Also
- /clipboard - Copies text to the clipboard.