Hello to All ;
I'm developing a Text-to-Speech software. Currently it's almost done. I need your help for following problem.
I want my software to read the text from files which are opened in other applications. For example , if there is a file Open in MS Word , then I want my software to read that file text as well. How can I do this ??
Can I get the text from any Window which is open and running ?? Is there any API call for that ?
Currently I have implemented it with Copy to Clipboard and read it from there. But for that , user needs to select the text and Copy it from that application. So , if I want to read a .doc file open in MS Word , I need to select it and then Copy its text from within MS Word. Then come back to my software and execute command "Read from Clipboard". It's a compromise !
Please suggest me a way so that user will just open a file in any application and I'll make my software to read it. I think hWnd will be the key parameter. What you think ?
Waiting for your valuable reply ...