Hey guys I have been tinkering with the HOTD3 and I got it to load the game without having to go through the launcher with the following ahk script. I then converted it to an exe and it is very nice.
**********
RegWrite, REG_DWORD, HKEY_LOCAL_MACHINE, SOFTWARE\SEGA\hod3\Settings, Played, 1
Run, C:\Program Files\Sega\THE HOUSE OF THE DEAD3_EU\exe\HOD3PC.exe
Sleep, 4000
WinWaitClose, THE HOUSE OF THE DEAD 3
return
ExitApp
**********
Now what I am wanting to do is add a command in there so whenever I press the ESC key I want it to do an Alt + F4 command. This will give me a window in HOTD3 that says you sure you want to exit? yes or no. This is kind of like how HOTD2 is by default. You hit esc a window comes up making sure you want to quit.
I tried to make this script here:
**********RegWrite, REG_DWORD, HKEY_LOCAL_MACHINE, SOFTWARE\SEGA\hod3\Settings, Played, 1
Run, C:\Program Files\Sega\THE HOUSE OF THE DEAD3_EU\exe\HOD3PC.exe
Sleep, 4000
WinWaitClose, THE HOUSE OF THE DEAD 3
return
ExitApp
ESC::
Send {LAlt down}
Send {F4 down}
Send {LAlt up}
Send {F4 up}
return
**********
With this script the ESC button does great just like I want it to do. Very nice. It brings up the Quit Game confirmation which is what I want. Now the thing is when I do say YES quit the game it will leave the script running in the systray. I need to figure out a way to make it quit out the script. I tried adding an ExitApp right under the return of the Alt + F4 thing but I can't get it to terminate the script. I really would like to get that escape command in my ahk script.