Cicode Programming Reference > Cicode Function Categories > Clipboard Functions > ClipCopy

ClipCopy

Copies a string to the Windows clipboard. When the string is in the clipboard, you can paste it to any Windows program.

Syntax

ClipCopy(sText)

sText:

The string to copy to the clipboard.

Return Value

0 (zero) if successful, otherwise an error code is returned.

Related Functions

ClipWriteLn

Example

ClipCopy("put this in clipboard");

See Also

Clipboard Functions

Published June 2018