world.SetClipboard

MUSHclient script function (Method) — introduced in version 3.66

Sets the clipboard contents

Prototype

void SetClipboard(BSTR Text);

Data type meanings

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

Utilities

See also

FunctionDescription
GetClipboardGets the clipboard contents