Y
yaktipper
My quest to emulate Robot.java in C# continues......
I was not able to use SendKeys, SendInput, keybd_event, or the
WH_JOURNALPLAYBACK hook to reproduce Robot.java's key sending ability
for apps that poll the asynch key state.
Since I was not able to get any info about the low-level code
Robot.java uses to execute the keyPress and keyRelease methods (any
info still appreciated ), I ended up creating a java app that runs
minimized that has a socket to accept keys, and uses robot.java to
send them. Any app of any kind can send the keys to this app and
utilize Robot.java's functionality.
Hope this info helps someone looking to use the wonderful Robot.java
in another platform.
I was not able to use SendKeys, SendInput, keybd_event, or the
WH_JOURNALPLAYBACK hook to reproduce Robot.java's key sending ability
for apps that poll the asynch key state.
Since I was not able to get any info about the low-level code
Robot.java uses to execute the keyPress and keyRelease methods (any
info still appreciated ), I ended up creating a java app that runs
minimized that has a socket to accept keys, and uses robot.java to
send them. Any app of any kind can send the keys to this app and
utilize Robot.java's functionality.
Hope this info helps someone looking to use the wonderful Robot.java
in another platform.