Retrieves text from the clipboard.
ClipGet ( )
Parameters
None.
Return Value
Success: | Returns a string containing the text on the clipboard. |
Failure: | Sets @error to 1 if clipboard is empty or contains a non-text entry. |
Remarks
None.
Related
ClipPut
Example
$bak = ClipGet()
MsgBox(0, "Clipboard contains:", $bak)
ClipPut($bak & "additional text")
MsgBox(0, "Clipboard contains:", ClipGet())