krofftsuperstar Posted November 1, 2019 Share Posted November 1, 2019 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! Quote Link to comment Share on other sites More sharing options...
JoeViking245 Posted November 1, 2019 Share Posted November 1, 2019 Show what you tried with the AppleWin script. please Quote Link to comment Share on other sites More sharing options...
krofftsuperstar Posted November 1, 2019 Author Share Posted November 1, 2019 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}}} } 1 Quote Link to comment Share on other sites More sharing options...
JoeViking245 Posted November 2, 2019 Share Posted November 2, 2019 Try this: $Esc:: { Send !{F4} } Your 1st one should work. But sometime programs are finicky. This will send Alt+F4 when you press Esc. (just hope the active window is indeed Trs80gp. Quote Link to comment Share on other sites More sharing options...
JoeViking245 Posted November 2, 2019 Share Posted November 2, 2019 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.)Also, 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. Quote Link to comment Share on other sites More sharing options...
krofftsuperstar Posted November 2, 2019 Author Share Posted November 2, 2019 Thank you so much for the suggestions! I'll give it a go in a bit and let you know the results. 1 Quote Link to comment Share on other sites More sharing options...
krofftsuperstar Posted November 2, 2019 Author Share Posted November 2, 2019 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! 1 Quote Link to comment Share on other sites More sharing options...
JoeViking245 Posted November 2, 2019 Share Posted November 2, 2019 Nothing to feel stupid about. An easy misunderstanding. Glad it it's working now! 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.