Is it possible to read the text contents of another program's window? In C one can use hwnd handle to manage a window, does Java offer any similar support?
Printable View
Is it possible to read the text contents of another program's window? In C one can use hwnd handle to manage a window, does Java offer any similar support?
No, you can't write spyware in Java.
db
Any access to a program in a way that it wasn't designed for and for which it doesn't expose a public API qualifies as spyware. Many monitoring tools are in fact spyware.
And regardless of what name you give it, you can't write spyware in Java. At least, not without going through the extremely complicated and roundabout -- and unreliable -- route of screen captures and OCR. And before you ask, no, there isn't an open source Java OCR implementation I know of.
db
Okay.
I'll ask something else then. Is there a way to monitor system calls? More specifically can I know which files a program is using at a certain time? (by monitoring the read call)
Spammer WPThomas reported.
db
No. A spammer tried to highjack your post. Darryl.Burke reported him/her and their post was deleted.Quote:
Was I supposed to understand something from this?
Yup. Would be nice if they deleted the post reporting spam at the same time (that's what they do over at the Oracle forums)
And thanks to the Admins for deleting the spam!
db