ClipAppend

Appends a string to the Clipboard.

Syntax:

ClipAppend (string)

Parameters:

(s) string: text string to add to Clipboard.

Returns:

(i)  @TRUE if string was appended; @FALSE if clipboard ran out of memory.

 

Use this function to append a string to the Windows Clipboard. The Clipboard must either contain text data or be empty for this function to succeed.

 

Example:


; The code below will append 2 copies of the
; Clipboard contents back to the Clipboard, resulting
; in 3 copies of the original contents with a CR/LF
; between each copy.
a = ClipGet( )
CRLF = StrCat(Num2Char(13), Num2Char(10))
ClipAppend(CRLF)
ClipAppend(a)
ClipAppend(CRLF)
ClipAppend(a)
Message("ClipAppend", "Clip Appended.")
See Also:

ClipGet, ClipPut