Put the (text) contents of the
I'm currently amending a lisp that overwrites multiple text strings with preset strings. I'd like to add to it's functionality by including an option to overwrite a string with the contents of the clipboard, provided the clipboard contains only text characters.Bit of pseudo code:
(setq newtext "contents of clipboard") I would recommend these Clipboard Functions by MP at The Swamp.
For your task:
(setq newtext (_GetClipBoardText)) Thanks Lee, MP & Patrick_35 for the original
Works a treat !
PS
Further to the above, I've added the functionality to your PSTEXT lisp Lee, for prefix & suffix clipboard text ! Excellent! - You're welcome Harry.
页:
[1]