Hi guys - I have a PC game imported from GOG (Silent Hill 2 (2024) however, when existing the game BigBox is not in focus and hence I can't navigate atall - only fix is to plug in a keyboard and kill the leftover autohotkey process.
I've tried using the following script after compiling and addiing as an additional app to run after the game closes from another user, but it doesn't work.
Sleep, 5000
WinGet, active_id, ID, A
WinWaitClose, ahk_id %active_id%
Sleep, 3000
Send {Esc}
Sleep, 500
if WinExist("LaunchBox")
{
WinActivate
}
if WinExist("LaunchBox BigBox")
{
WinActivate
}
ExitApp
Any ideas on how I can improve this script or replace altogether?
I'm running the latest version of Launchbox
I should note, this is the only Windows game that has this issue in BigBox.
Many thanks