Previous topic

set_method_table

Next topic

SetDataInfo

This Page

SetClipboardTextΒΆ

SetClipboardText writes text into the clipboard.

bool = SetClipboardText(ssText)

Return Value

bool is TRUE (1) if the text was written successfully otherwise the function returns FALSE (0).

Parameters

ssText

ssText is the text to be copied to the clipboard.

Example

smText = ["Engine", "123.123"; "Gearbox", "p12"];
ssText = smprintf("%s", smText, "\t", "\n");
SetClipboardText(ssText);

id-1493865