Build Your Own Arcade Controls Forum
Main => Software Forum => Topic started by: Jayinem on April 25, 2020, 09:20:14 pm
-
I have tried many scripts but none work. This one is directly from Launchbox and it works when launcing a Model 2 game in launchbox but not in AHK seperately.
; This section closes Sega Model 2 Emulator when pressing Escape
$Esc::
{
Process, Close, {{{StartupEXE}}}
}
The reason I need it to be in my AHK and not Launchbox's is because I'm also running Demulshooter in the script and making it an EXE, and Launchbox doesn't appear (that I know of) to let you add this script if you're not using an emulator which I'm bypassing the emulator to Launcbbox since I'm using a EXE to run the game.
If I make the first line this
#IfWinActive ahk_class emulator (emulator is the name of the emulator emulator.exe, is that wrong?)
is makes the window smaller but I need it to close.
-
Finally got it with this
#If WinActive("ahk_exe emulator.exe")
Esc::
Winclose
ExitApp
-
Perhaps, my program ALLINONEFYC could be usufull for you...
Enviado desde mi MI MAX 2 mediante Tapatalk