Re: how to capture keys from other application



In message <42B82187.DCB71C06@xxxxxxxxxxxxxxxxx>, Fred L. Kleinschmidt <fred.l.kleinschmidt@xxxxxxxxxxxxxxxxx> writes


"Hariharan S via JavaKB.com" wrote:

I need help for : a java code should capture keys from desktop or other applications Ex: notepad, Internet Explorer and other third party software.

Why do you need this? To spy on the user and steal his/her password?


Probably. Although you can actually use the same method to stop keyloggers, if you're using the Windows API global keyboard hook (and the keylogger is trying to, obviously). Although I'm not sure if you could do it in Java without using JNI etc.






--
Jeffrey Spoon

.