I tried to post a new native key pressing to the system using the java library https://github.com/kwhat/jnativehook. The method Needs to get passed a NativeInputEvent object, which needs the Parameters An instance of Global Screen Two integers and one long Based on the documentation I can’t figure out what the required parameters are and how to for example initialize a