The other script I am using is to launch the steam game in order to maintain my LEDBlinky lights working. All of this functions basically how I want, the game loads with the controls working, and the lights stay on for LEDBlinky, the issue I have is when I close the game it is not sending a GameQuit (4) command to LEDBlinky, and I am not sure how to add it properly. Can I create a standalone script that I load as an additional app with the game that sends that command when the game closes, or would it be better to add it to the existing script I use to close the game?
Here is the script for loading the steam game which allows the lights to function properly:
Code: Select all
Run, steam://rungameid/678950
Sleep, 5000
WinWait, Killer Instinct
WinWaitClose
SplashImage, Off
ExitApp
Code: Select all
$Esc::
{
Process, Close, XArcade_XInput.exe
}
Escape::
Send !{f4}
if WinExist("LaunchBox Game Startup")
{
WinActivate
WinWaitClose, LaunchBox Game Startup
}
if WinExist("LaunchBox")
{
WinActivate
}
if WinExist("LaunchBox Big Box")
{
WinActivate
}
ExitApp
return
Thanks!