is it possible with b4j to simulate a keyboard press outside the app. so if i press on a button in my app a virtual key press is simulated like if would have pressed the physical keyboard?
so the app should perform key presses even if it is not focused and the keypress should appear in whatever app is focused like notepad. is it possible?
Holding a key down is just a failure to release the key in a timely fashion. You can have as long a delay as you want in between the press and release.
Note that the RobotDelay function is a blocking function.
Holding a key down is just a failure to release the key in a timely fashion. You can have as long a delay as you want in between the press and release.
Note that the RobotDelay function is a blocking function.