clipboard.getValue

Syntax clipboard.getValue (type)

Params type is a string4 value.

Action Retrieves the contents of the Clipboard of the indicated type, and attempts to interpret the data as the corresponding Frontier datatype.

Returns The value retrieved from the Clipboard

Examples Open examples.testText. Select all of the text in this window and copy it. Now you know what the Clipboard's contents are. Type and execute:
clipboard.getValue ('TEXT')


   » This is some sample text to test various things

Notes This verb is implemented as a script.

clipboard.getValue attempts to unpack the binary value obtained from the Clipboard into a standard datatype. This contrasts with the behavior of clipboard.get, which uses the native binary datatype of the object retrieved.

See Also clipboard.get

clipboard.putValue

Discuss