SpuRge Posted July 17, 2019 Share Posted July 17, 2019 (edited) I tried everything I found on the forum but nothing works. When I press Esc PFX3 goes into pause menu. I use a legit version of PFX3 with Steam. I can load single tables with cabinet mode. I only use my keyboard for now just to setup my arcade cabinet. In LB my Emulator Application Path is set to Steam.exe, setting it to Pinball FX3.exe a window opens "Allow game launch?" In "Running AutoHotKey" I typed: $Esc:: { Process, Close, {{{StartupEXE}}} } I've set AutoHotKey.exe to run as administrator Nothing works for me, Can anyone help me please? Edited July 17, 2019 by SpuRge Quote Link to comment Share on other sites More sharing options...
JoeViking245 Posted July 17, 2019 Share Posted July 17, 2019 I think FX3 is like a Windows game, in that you really probably want to exit it through the games exit process. I could be wrong though. You could possibly try changing "startupEXE" to "Steam.exe" and see what that does. Quote Link to comment Share on other sites More sharing options...
neil9000 Posted July 17, 2019 Share Posted July 17, 2019 Yeah this is a standard .exe so you should close it via its own options menu. Forcing it to close in the way you are trying to could result in save file corruption, as you would essentially be "End Tasking" a running program. Quote Link to comment Share on other sites More sharing options...
Retro808 Posted July 17, 2019 Share Posted July 17, 2019 It should work fine with an AHK. I have no issues closing it. You can probably try changing the AHK to below. Alt+F4 closes Pinball FX3.exe correctly. Escape when in Pinball FX3 usually takes you to the menu which is what you are seeing. ESC:: Send !{f4} Quote Link to comment Share on other sites More sharing options...
SpuRge Posted July 18, 2019 Author Share Posted July 18, 2019 Still not working. I think my computer is missing something or I'm doing it all wrong. Quote Link to comment Share on other sites More sharing options...
Retro808 Posted July 18, 2019 Share Posted July 18, 2019 If you are using Steam.exe try this code (or edit to the pinball's exe) and see if anything happens. $Esc:: { WinClose, ahk_exe Steam.exe } Quote Link to comment Share on other sites More sharing options...
SpuRge Posted July 18, 2019 Author Share Posted July 18, 2019 Still no Luck. The computer I use has got a fresh install of Win 10 and is up to date. I installed LB, a few emulators and Pinball FX3. Just to be sure, there is nothing else needed to make AHK work? That script needs to be placed in "Running AutoHotKey Script"? Quote Link to comment Share on other sites More sharing options...
JoeViking245 Posted July 19, 2019 Share Posted July 19, 2019 Shouldn't need anything else. (Jason's got you covered for AHK) Yes. "Running AutoHotKey Script" Try: $Esc:: { WinClose, ahk_exe Pinball FX3.exe } Quote Link to comment Share on other sites More sharing options...
SpuRge Posted July 19, 2019 Author Share Posted July 19, 2019 (edited) Nope still goes in the pause menu ? When I start launchbox shouldn't AHK be running in my task manager? It doesn't show up there. Edited July 19, 2019 by SpuRge Quote Link to comment Share on other sites More sharing options...
Retro808 Posted July 19, 2019 Share Posted July 19, 2019 35 minutes ago, SpuRge said: Nope still goes in the pause menu ? When I start launchbox shouldn't AHK be running in my task manager? It doesn't show up there. The other systems you set up does exiting work properly? Quote Link to comment Share on other sites More sharing options...
SpuRge Posted July 19, 2019 Author Share Posted July 19, 2019 (edited) Yes, but that is mame, RetroArch and Demul, They don't need AHK to exit Edited July 19, 2019 by SpuRge Quote Link to comment Share on other sites More sharing options...
Retro808 Posted July 19, 2019 Share Posted July 19, 2019 3 minutes ago, SpuRge said: Yes, but that is mame, RetroArch and Demul, They don't need AHK to exit I understand that, just confirming to make sure it is not something else hindering exiting of any kind. Run a Pinball game and hit Alt+F4 and see if it exits properly. No AHK or anything just hit Alt+F4. If you run Pinball FX3.exe without Steam that would be the key combo that would exit it. Quote Link to comment Share on other sites More sharing options...
SpuRge Posted July 19, 2019 Author Share Posted July 19, 2019 3 minutes ago, Retro808 said: I understand that, just confirming to make sure it is not something else hindering exiting of any kind. Run a Pinball game and hit Alt+F4 and see if it exits properly. No AHK or anything just hit Alt+F4. If you run Pinball FX3.exe without Steam that would be the key combo that would exit it. Yes that works fine Quote Link to comment Share on other sites More sharing options...
Retro808 Posted July 19, 2019 Share Posted July 19, 2019 I am not sure then. Honestly I never looked to see if AHK runs in the background. I have not had any issues with any emulator or exe for that matter not working with an AHK script assigned. I really do not use Steam anymore. I do know many users and mods do and have not seen any reported issues with AHK and something launched through Steam. I am not home to set-up Steam back up with Pinball FX3 to test. It did work when I last had it up a year ago. Quote Link to comment Share on other sites More sharing options...
SpuRge Posted July 19, 2019 Author Share Posted July 19, 2019 (edited) 20 minutes ago, Retro808 said: I am not sure then. Honestly I never looked to see if AHK runs in the background. I have not had any issues with any emulator or exe for that matter not working with an AHK script assigned. I really do not use Steam anymore. I do know many users and mods do and have not seen any reported issues with AHK and something launched through Steam. I am not home to set-up Steam back up with Pinball FX3 to test. It did work when I last had it up a year ago. Ok, thanks. One more question, if you open the AutoHotKey.exe in your Launchbox Folder, should AHK start? I get the Message: Script file not found: C:\Users\MyComputer\Documents\AutoHotKey.ahk Is that normal? Edited July 19, 2019 by SpuRge Quote Link to comment Share on other sites More sharing options...
Retro808 Posted July 19, 2019 Share Posted July 19, 2019 Yeah that should be normal. Quote Link to comment Share on other sites More sharing options...
SpuRge Posted July 19, 2019 Author Share Posted July 19, 2019 1 hour ago, Retro808 said: Yeah that should be normal. Ok thanks, I'll keep searching Quote Link to comment Share on other sites More sharing options...
SpuRge Posted July 19, 2019 Author Share Posted July 19, 2019 Ok it is solved. I reinstalled PFX3 and changed the "Emulator Application Path" again to "Pinball FX3.exe" instead of "steam.exe". It works perfect, and for some reason I don't get the extra window "Allow game Launch?" anymore. Strange, I tried that before. Anyway, Thanks for the help guys!!!! Quote Link to comment Share on other sites More sharing options...
Retro808 Posted July 19, 2019 Share Posted July 19, 2019 27 minutes ago, SpuRge said: Ok it is solved. I reinstalled PFX3 and changed the "Emulator Application Path" again to "Pinball FX3.exe" instead of "steam.exe". It works perfect, and for some reason I don't get the extra window "Allow game Launch?" anymore. Strange, I tried that before. Anyway, Thanks for the help guys!!!! Cool. Not sure why I did not mention try the Pinball exe directly. That is what I use. Glad you are sorted. Quote Link to comment Share on other sites More sharing options...
Tupacanderson Posted April 20, 2022 Share Posted April 20, 2022 On 7/17/2019 at 12:19 PM, Retro808 said: It should work fine with an AHK. I have no issues closing it. You can probably try changing the AHK to below. Alt+F4 closes Pinball FX3.exe correctly. Escape when in Pinball FX3 usually takes you to the menu which is what you are seeing. ESC:: Send !{f4} muito obrigado. Funcionou pra mim!!!!! 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.