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?
Welcome to the Java Programming Forums
The professional, friendly Java community. 21,500 members and growing!
The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.
>> REGISTER NOW TO START POSTING
Members have full access to the forums. Advertisements are removed for registered users.
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.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