ClipGet

Returns the contents of the Clipboard.

Syntax:

ClipGet ( )

Parameters:

(none)

Returns:

(s) Clipboard contents.

 

Use this function to copy text from the Windows Clipboard into a string variable.

Note: If the Clipboard contains an excessively large string a (fatal) out of memory error may occur.

 

Example:


; The code below will convert Clipboard contents to
; uppercase
ClipPut(StrUpper(ClipGet( )))
a = ClipGet( )
Message("UPPERCASE Clipboard Contents", a)
See Also:

ClipGetEx, BinaryClipGet, ClipAppend, ClipPut