cleverest Posted May 7, 2018 Share Posted May 7, 2018 I know the script to press ESC to exit an emulator...but I'm wondering it is possible to add the key presses (RIGHT ARROW), and then (ENTER) KEY in that order just after the ESC press? I have an emulator that prompts to save a save state when you exit, and it's important the answer is always NO.... because the state needs to always start at the beginning of the game....it defaults to YES with the prompt, so a right arrow press and enter would say NO and finally close it out. (The emulator is XM6-TypeG, for Sharp X68000) Thanks! Quote Link to comment Share on other sites More sharing options...
cleverest Posted May 7, 2018 Author Share Posted May 7, 2018 Nevermind, apparently the ESC script totally closes the game and ignores the prompt to save...it does not save it...awesome, LOL Quote Link to comment Share on other sites More sharing options...
ckp Posted May 8, 2018 Share Posted May 8, 2018 (edited) you could do it if you run a line before the game/emulator close line that runs an external ahk script file. that ahk script file will keep running until your code in there exits that script. Edit: oops didnt notice your second post. maybe you can just have ahk send keys to save state before the ESC script close line runs? Edited May 8, 2018 by ckp Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.