Hello,
I'd like to know if it's possible to send keystrokes to a minimized or a window that is not on focus?
Thanks,
almarjin
Printable View
Hello,
I'd like to know if it's possible to send keystrokes to a minimized or a window that is not on focus?
Thanks,
almarjin
You mean you want to trap keystrokes that are going to another window that has the focus?
No, you can't create a keylogger in Java.
db
No, it's not keylogger. it's like I have a keys that will be sent to a minimized window. I will use this to play a game while doing other things. right now I can send keystrokes(saved in java code with delay) and watch my character playing but I can't use the other windows because it's sending the keys to the focus window.
thanks
ok. maybe it's not possible because I don't have control over the minimized window(game). Because I need a listerner on that window or something like that.
I'm super new to java and I have just started reading PDF tutorial(Head First).
Thanks for the time guys :)