Message 1 of 2
Using DOSlib's dos_clipboard function to build a Windows Clipboard History

Not applicable
08-05-2020
06:04 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
When I use the DOSlib dos_clipboard function at the command line to copy text to the Windows clipboard, it will build a clipboard history (a fairly new and useful feature in Windows) each time I use it. I can then retrieve and paste all of the copies with the <Windows-V> keyboard combination. However if I use the function inside a lisp routine, it only adds the last copy to the history.
For example (progn (dos_clipboard "1") (dos_clipboard "2")) will only add "2" to the clipboard history.
Would anyone know a way to use dos_clipboard inside autolisp such that it adds all instances to the clipboard?