I need to be able to get access to any highlighted text from any other application in windows, whenever I press a certain hotkey.
I already have the hotkey part running, but I don't know how to find the currently active window and get the highlighted text.
Nor do I know how to replicate a Ctrl+C event using my own shortcut .
Grapping the highlighted text directyly or replicating Ctrl+C event - both would be seen as a solution. As long as the selected text goes into my code.
Can anybody help me?