Skip to end of metadata
Go to start of metadata

You are viewing an old version of this content. View the current version.

Compare with Current View Version History

Version 1 Current »

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

  • No labels