Vicon Shogun banner

Description

Gets text that was copied to the clipboard.

Functional area

System

Command syntax

Syntax

getClipboardText

Arguments

None

Flags

None

Return value

string

Any text that was copied onto the system clipboard.

Examples

// Copy some text to the clipboard and then get it, verifying
// that they are the same
string $str;
copyString "Hello Shogun User";
$str = `getClipboardText`;

// Will print "Hello Shogun User"
print $str;

Additional information

Related commands