Skip to content

copyToClipboard

Copies text to the system clipboard.

Syntax

lua
Ham.copyToClipboard(text)

Parameters

NameTypeDescription
textstringText to copy

Example

lua
Ham.copyToClipboard("Hello, World!")

See Also

Released under the ISC License.