Kasun Lee

Kasun Lee

  • NA
  • 178
  • 14.4k

Copy text from an external App.

Aug 6 2019 10:54 AM
Hi!
 
I'm trying to make an app in the line of this functionality, to simplify the text coping:
When you run the app, it should globally detect mouse clicks -- that part I know how to do. And when you select some text in any application running and hold the left-mouse button for like 3 seconds (which I have the idea of how to detect), it should copy the selected text of that external application to the clipboard. So, my question is, is it possible to retrieve a text that is selected in an external app, kind of like setting up a "global clipboard hook" (for a lack of a better term)?
 
Donno if I'm clear on what I'm saying. Anyways, appreciate any input from you guys on this.
 
Thanks.

Answers (1)