world.GetClipboard
Gets the clipboard contents
Prototype
BSTR GetClipboard();
Description
Returns the clipboard contents, if the clipboard contains straight text. If there is no text on the clipboard, it returns the empty string.
VBscript example
Note GetClipboard
Jscript example
Note (GetClipboard ());
PerlScript example
Note (GetClipboard ());
Python example
world.Note (world.GetClipboard)
Lua example
Note (GetClipboard ())
Return value
The clipboard contents, of an empty string if the clipboard does not contain text.
Related topic
See also
| Function | Description |
|---|---|
| SetClipboard | Sets the clipboard contents |