windows - How can I call a Java application on background with keyboard keys? -
I'm actually working on a screenshot saver on Windows, and I want to call a method on a Java application When I press a combination of keys to save the screen.
The Java application is not an "active" window, so how can I call a method? Whether the main window has been reduced or running on the background.
For Windows you are searching one in your keyboard. Note that hooking is highly relevant to the OS and your applications may not be portable between different versions / editions of the OS yet, you can use Jeana as shown it here or, using a library of third party .
Comments
Post a Comment