/
getClipboardText

getClipboardText

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

Related content


© Copyright Vicon Motion Systems. All rights reserved.

Vicon trademarks