Jump to content
LaunchBox Community Forums

Set AHK script to do 3 command in a row, not only ESC/EXIT...possible?


cleverest

Recommended Posts

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!

Link to comment
Share on other sites

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 by ckp
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...