Jump to content
LaunchBox Community Forums

Recommended Posts

Posted

Can't get Launchbox/Bigbox to quit this TRS-80 emulator via the normal "ESC" exit.

"ALT" plus "F4" is what quits Trs80gp when using the emulator -- on its own and also through LB/BB. So what script do I need to exit/quit it via ESC? I tried modifying the AppleWin script, but it didn't work. I've also tried many other variations to no success. THANKS! 

Posted

Sorry, just got home from work. Here ya go:

 

; This section closes Trs80gp when pressing Escape
 $Esc::
 {
     Process, Close, {{{StartupEXE}}}
 }

I also tried this:

; This section closes Trs80gp when pressing Alt f4
 $Alt f4::
 {
     Process, Close, {{{StartupEXE}}}
 }

  • Thanks 1
Posted

Just had a thought... Make sure you're putting it the "Running AutoHotKey Script" tab in Edit Emulator. (The "Exit AutoHotKey Script" tab is used only for exiting from the pause screen in BigBox.)image.thumb.png.84d7c62aaf1646333a00b5f2a0bed8bc.pngAlso, the "Send !{F4}", though effective,  is not very pretty and can be problematic.  If your 1st one was placed in the correct tab and doesn't work, scratch my last post ant try this: 

$Esc::
{
  WinClose, ahk_exe trs80gp.exe
}

Replace "trs80gp.exe" with the actual name.ext of your emulator if different.

Posted

Great suggestion to put it in the "Running AutoHotKey Script" Tab. I put the original script there and it worked perfectly; the emulator quit as it should. Feel kind stupid, but at least I learned something from this. 

Thank you again for the help! 

  • Game On 1

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...