0

I made a windows app and i want that app to read the highlighted text but i am unable to solve this problem.

Can anyone suggest me how can it read highlighted text from anywhere. Example browser and notepad etc. For simple strings I use

obj.SpeakAsync("Hello");

But How to read highlighted text?

I am so confused please tell me any method that solve this problem.

Amarnath Balasubramanian
  • 9,300
  • 8
  • 34
  • 62
Wadu
  • 107
  • 1
  • 12
  • 1
    There is no easy way to do this and it has been asked before here on SO. For example: http://stackoverflow.com/questions/4243944/how-to-get-selected-text-from-any-window-using-ui-automation-c-sharp – Karl-Johan Sjögren Dec 30 '13 at 08:55
  • http://stackoverflow.com/questions/2763563/capture-highlighted-text-from-any-window-using-c-sharp – Nagaraj S Dec 30 '13 at 08:57

0 Answers0