1

Is it possible to detect string selection in any application? I need to write some application which would be run in the background and it would be checked if any string is selected (for example in some website content or in PDF reader or in Word). If some string selection would be detected it should be copied to clipboard.

3
  • 1
    You mean a routine that checks if the user makes a selection with the mouse, in any running application, no matter what kind? No.
    – Mr Lister
    Aug 25, 2012 at 8:33
  • 2
    It's not possible in managed language due to strict memory boundaries. But you can do it if you implement the code as a driver in C.
    – oleksii
    Aug 25, 2012 at 8:37
  • see here for a possible answer: stackoverflow.com/questions/4665045/… Aug 25, 2012 at 8:41

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.