Friday, September 19, 2014

Integrate jkeymaster with javAuto to support HotKey

Today I was looking for an alternative of AutoIt for Linux and found javAuto. After few mins, I already missed the HotKey function in AutoIt, and it seems javAuto has no support for this. A simple search of "Java Hotkey" returned https://github.com/tulskiy/jkeymaster, and actually it's easy to combine these two tools. Download the jkeymaster, build it with maven. You will find two jar files: jkeymaster-1.2-SNAPSHOT.jar and jna-4.1.0.jar in the target folder. Copy these two jars to the working directory along with javAuto.jar. For the Test.java, using F11 as the hotkey!

No comments: