HI
Can any one please give some idea on how to read contents of active window. i.e say i have opened some notepad file say somefile.txt n it contains some text data ....how to read the contents and display it on console or write to some log file .... user can open any .txt file so the name of the file is not constant.
Where to start from, which api to use ....
Thank you