Sys2PutClipboardText: Difference between revisions
Appearance
mNo edit summary |
mNo edit summary |
||
(2 intermediate revisions by the same user not shown) | |||
Line 4: | Line 4: | ||
==Arguments== | ==Arguments== | ||
# String to be written to the clipboard (DEFAULT: "") | |||
# Flag indicating whether other clipboard formats should be cleared: | |||
#:Y = yes, call WinEmptyClipbrd() before writing text (DEFAULT) | |||
#:N = no, leave (non-CF_TEXT) clipboard data untouched | |||
==Return Value== | ==Return Value== | ||
1 on success, 0 on failure | |||
[[Category:RxUtilEx]] | [[Category:RxUtilEx]] |
Latest revision as of 06:41, 3 May 2020
Writes a string to the clipboard in plain-text format. Specifying either no value or an empty string in the first argument will simply clear the clipboard of CF_TEXT data.
This function requires Presentation Manager to be active, although the REXX program itself need not be running in a PM process.
Arguments
- String to be written to the clipboard (DEFAULT: "")
- Flag indicating whether other clipboard formats should be cleared:
- Y = yes, call WinEmptyClipbrd() before writing text (DEFAULT)
- N = no, leave (non-CF_TEXT) clipboard data untouched
Return Value
1 on success, 0 on failure