get the selected text in any active window Topic is solved
Re: get the selected text in any active window
ClipWait is probably the right answer. You can save & restore the previous clipboard contents as needed.
-
- Posts: 99
- Joined: 28 Jun 2019, 01:07
Re: get the selected text in any active window
Hi @mikeyww Thank you for your further comments!
Yes, I used ClipWait after each statemtn Send ^c, but still a little worried about the result.
About "save & restore the previous clipboard contents", simply restoring the variable "clipboard" as a simple string could recover all the previous complex contents in the clipboard, such as files, imgages, rich format text...?
Re: get the selected text in any active window
Instead of worrying, you can see if ClipWait works. The docs show how to restore clipboard.
-
- Posts: 99
- Joined: 28 Jun 2019, 01:07