world.SetClipboard
Sets the clipboard contents
Prototype
void SetClipboard(BSTR Text);
Description
Sets the Windows clipboard to the supplied string.
VBscript example
SetClipboard "hello, world"
Jscript example
SetClipboard ("hello, world");
Lua example
SetClipboard ("hello, world")
Lua notes
You can supply multiple arguments, which are concatenated together.
Return value
Nothing.
Related topic
See also
| Function | Description |
|---|---|
| GetClipboard | Gets the clipboard contents |