jazzzzzzz Active Member Licensed User Longtime User Aug 7, 2015 #1 Am using jshell to start ffmpeg.exe in windows,I want to send a keystroke to that FFMPEG process say ctrl+c (SIGINT) to properly exit it. I have tried jshell.killprocess to exit the process and it works but to properly exit FFMPEG i want to send ctrl+c (SIGINT) keystroke to that process ..How can i do it?
Am using jshell to start ffmpeg.exe in windows,I want to send a keystroke to that FFMPEG process say ctrl+c (SIGINT) to properly exit it. I have tried jshell.killprocess to exit the process and it works but to properly exit FFMPEG i want to send ctrl+c (SIGINT) keystroke to that process ..How can i do it?
B billzhan Active Member Licensed User Longtime User Aug 7, 2015 #2 try this lib (java 8, tested on windows) : https://www.b4x.com/android/forum/threads/jawtrobot-invoke-keyboard-and-mouse-events-etc.55832/ Upvote 0
try this lib (java 8, tested on windows) : https://www.b4x.com/android/forum/threads/jawtrobot-invoke-keyboard-and-mouse-events-etc.55832/
jazzzzzzz Active Member Licensed User Longtime User Aug 7, 2015 #3 how can i use this library to send a keystroke to a particular process? Upvote 0
R Roycefer Well-Known Member Licensed User Longtime User Aug 7, 2015 #4 AWTRobot's keystrokes won't produce the desired effect, here. Upvote 0