Hey Joe, this just doesn't make any sense to me (not your reply, the results I get).
I am able to accomplish what @Koroth was doing with RPCS3 with a script like this rather than the compile and script he is using:
Run, "D:\Gaming\DS4W Off.bat"
$Esc::
{
WinClose, ahk_exe rpcs3.exe
Run, "D:\Gaming\DS4Windows"
}
I can add the same script to Yuzu and it works the same, but the goal was to do the opposite.
However, if I simply reverse the order of the 2 "Run" lines, it won't execute the 2nd "Run".
Run, "D:\Gaming\DS4Windows"
$Esc::
{
Run, "D:\Gaming\DS4W Off.lnk"
WinClose, ahk_exe yuzu.exe
}
It will start DS4 but just won't stop it.????
UPDATE: It has to have something to do with Yuzu, it works just fine with other emulators.