BTr Posted September 14, 2017 Share Posted September 14, 2017 (edited) hi all, i want to use player 2 select (button 9) in every game and emulator to exit to bigbox... i copied this command in autohotkey script i saw in one of the emulators that was automatically created, i was using it until now that i moved my pc to an arcade cabinet (using no keyboard): ; This section closes Demul when pressing Escape $Esc:: { Process, Close, {{{StartupEXE}}} } How can i modify it to use button 9 on second controller instead ESC to exit any emulator and games no matter what? I use button 9 on first controller to insert coin... need a help because i dont have plans to use a keyboard...i just need this button or a combination to exit games and emulators anytime like this script do. Thanks Edited September 14, 2017 by BTr Quote Link to comment Share on other sites More sharing options...
zetec-s-joe Posted September 14, 2017 Share Posted September 14, 2017 If you use Premium there is an option in Big Box to set Controller Commands, You can make start+select exit current emulator/game, works for the best part of all emulators I use, works a treat. Quote Link to comment Share on other sites More sharing options...
BTr Posted September 14, 2017 Author Share Posted September 14, 2017 (edited) 38 minutes ago, zetec-s-joe said: If you use Premium there is an option in Big Box to set Controller Commands, You can make start+select exit current emulator/game, works for the best part of all emulators I use, works a treat. I tried enable automation control in bigbox but could not be able to find any option to use a combination for exit any emulator, How can i do It? This ESC script Works so perfect, is there not a way to use It as a Controller Button? Edited September 14, 2017 by BTr Quote Link to comment Share on other sites More sharing options...
zetec-s-joe Posted September 14, 2017 Share Posted September 14, 2017 You have to set the Enable Hot Keys Button to select, and then set Quit Emulator to Start Quote Link to comment Share on other sites More sharing options...
Zombeaver Posted September 14, 2017 Share Posted September 14, 2017 1 hour ago, BTr said: I tried enable automation control in bigbox but could not be able to find any option to use a combination for exit any emulator, How can i do It? This ESC script Works so perfect, is there not a way to use It as a Controller Button? You specify the combination button in the "hold this button" field. You click the field, then press the button on your controller. Then you do the same thing for the function you want to use - in this case "close the active window". Then you just hold the "hold this button" button, and then press the other button to do that function. Keep in mind that the controller automation close function doesn't work with some emulators - specifically ones that don't accept simulated keyboard inputs. It's rare, but there are a few. When this happens, you can add the close script you showed above in that emulator's AHK page, and controller automation's close function will work at that point (because it works based on a simulated "ESC" input in the background). $Esc:: { Process, Close, {{{StartupEXE}}} } Quote Link to comment Share on other sites More sharing options...
mattdawson75 Posted April 26, 2019 Share Posted April 26, 2019 I have a question - is there a way to lock this feature to just Player 1? Sorry I haven't set up Launchbox yet, I'm not sure if that's how it is by default. Quote Link to comment Share on other sites More sharing options...
Zombeaver Posted April 26, 2019 Share Posted April 26, 2019 I believe you can specify the specific controller you want to use (not just all controllers) in the Gamepad/Joystick section. Quote Link to comment Share on other sites More sharing options...
astraboy1981 Posted May 2, 2019 Share Posted May 2, 2019 Can I exit a windows pc game with the escape key? I've googled and googled and I've tried using scripts like :- $Esc:: { Process, Close, {{{StartupEXE}}} } but no luck, cheers in advance 1 Quote Link to comment Share on other sites More sharing options...
klepp0906 Posted November 9, 2019 Share Posted November 9, 2019 On 5/2/2019 at 1:40 AM, astraboy1981 said: Can I exit a windows pc game with the escape key? I've googled and googled and I've tried using scripts like :- $Esc:: { Process, Close, {{{StartupEXE}}} } but no luck, cheers in advance seeking the answer to this as well. just made a post about it matter a fact. Quote Link to comment Share on other sites More sharing options...
James35 Posted April 3, 2020 Share Posted April 3, 2020 I am also looking for an answer to this. I can see how to do it for an Emulator, but the PC Games don't need an emulator. Quote Link to comment Share on other sites More sharing options...
Jayinem Posted August 17, 2020 Share Posted August 17, 2020 It baffles me that here we are in 2020, and recent PC games make it difficult to exit the freaking game. Even PS4 you can hit the PS button and go to the PS4 main menu, and easily close the game same for Xbox One. But somehow on PC, it's difficult. Quote Link to comment Share on other sites More sharing options...
neil9000 Posted August 17, 2020 Share Posted August 17, 2020 9 hours ago, Jayinem said: It baffles me that here we are in 2020, and recent PC games make it difficult to exit the freaking game. Even PS4 you can hit the PS button and go to the PS4 main menu, and easily close the game same for Xbox One. But somehow on PC, it's difficult. A PC specifically ISNT a console. And you can do exactly what you want with a simple ALT-TAB. Quote Link to comment Share on other sites More sharing options...
oslnx Posted June 5, 2021 Share Posted June 5, 2021 On 8/17/2020 at 9:17 AM, neil9000 said: A PC specifically ISNT a console. And you can do exactly what you want with a simple ALT-TAB. fuck you lamer, if the purpose of this shit is launch fucking games makes no sense you cannot exit the game. so what's the fucking difference between console and pc, you don't know nothing, it's fucking simple to catch a key combination, are you a coder ? i am and i'm saying to you thats ridiculous to implement, if you guys can't do this you can't do nothing, this is a fucking crap and will not pay for that shit 1 Quote Link to comment Share on other sites More sharing options...
jayjay Posted June 5, 2021 Share Posted June 5, 2021 35 minutes ago, oslnx said: Snip You could use LB's API or ahk script/additional apps options to implement it yourself. Maybe even share your code with the community to help out those who can't do it. Quote Link to comment Share on other sites More sharing options...
Your Friendly A.I Overlord Posted June 5, 2021 Share Posted June 5, 2021 (edited) 2 hours ago, oslnx said: Whoa, calm down little fella. PC games are meant to be closed via their own menus. And as long as a game has controller support, you can do this easily with a controller too. And it is not that you can not force close a pc game via a script, just that it is not recommended because force closing a pc game can lead to corruption. Corruption of the game itself as well as save files. Just close your pc games via its own menu. That's how they where designed. Deal with it. Edited June 5, 2021 by Koroth Quote Link to comment Share on other sites More sharing options...
neil9000 Posted June 5, 2021 Share Posted June 5, 2021 lol, that was quite a tirade. I like how he completely ignored me saying that Alt Tab works to switch out of a game, and also seemed to make up that i said Launchbox couldn't exit from PC games, i never said anything of the sort in this thread. Someone got their panty's in a twist. 1 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.