'KCMLWriteClipboard(sText$)

Writes a string to the Windows clipboard using the CF_TEXT format.

Arguments

STR()sText$[in] The string to write.

Returns

This function returns TRUE on success, or FALSE on failure.

Syntax

The following definition is built into KCML. You do not have to include it in your own code.

$DECLARE 'KCMLWriteClipboard(STR())

Remarks

Example

The following KCML program will write a string to the Windows clipboard:

 'KCMLWriteClipboard("This is a test string!")

Further Information

IntroducedKCML 5.00
CompatibilityKClient

See Also

KCMLGetClipboardLength, KCMLReadClipboard

Index of internal $DECLARE functions