Page tree
Skip to end of metadata
Go to start of metadata



Introduced in

Version:2.00

Description

Description:Returns the content of the Windows clipboard (used in text copy and paste operations).

If multiple lines are copied into the clipboard, then the returned string contains the ASCII codes 13 and 10 (CR and LF) at each line break, and has to be separated into individual lines, using the fn vbs splitString function:

_lines = [copyFromClipboard, toString [13,10]] call fn_vbs_splitString

Syntax

Syntax:copyFromClipboard
Parameters:
Return Value:String

Examples

Examples:hint format["Received from clipboard: %1",copyFromClipboard]

Additional Information

See also: copyToClipboard
Multiplayer: 
Problems: 

Notes