ClipCopy
- Last UpdatedSep 19, 2024
- 1 minute read
Copies a string to the Windows clipboard. When the string is in the clipboard, you can paste it to any Windows program.
Syntax
ClipCopy(sText[, bAppendNewLine])
sText:
The string to copy to the clipboard.
bAppendNewLine:
Determines if new line characters (carriage return + line feed) are appended to text when it is added to the clipboard. You can set this argument to FALSE if you need to paste text into a field that does not accept these characters.
TRUE (default) = new line characters are included.
FALSE = new line characters are not included.
Return Value
0 (zero) if successful, otherwise an error code is returned.
Related Functions
Example
ClipCopy("put this in clipboard");
See Also