@Koroth @JoeViking245
Thank you both for helping me. Still no idea why ahk_exe wasn't working for me last night because its just fine today. I am not a fan of stealing retroarchs escape function so I made a ahk script to control when to open and to close vgtranslate then compiled it to exe for portability sake. On launch of retroarch, launchbox will now open vgtranslate_for_LaunchBox.exe instead of serve.exe. I noticed every time I changed from full screen to windowed or vice versa vgtranslate would think retroarch closed and in turn close vgtranslate. I made a loop and added a sleep to defeat that last hurdle. You both saved me from giving up so thank you! Check out the script below.
SetTitleMatchMode, 2
DetectHiddenWindows, On
SetWorkingDir %A_ScriptDir%
winwait, RetroArch
Run serve.exe, ,min
Loop
{
WinWaitClose, RetroArch
Sleep, 1000
IfWinExist, RetroArch
continue
IfWinNotExist, RetroArch
break
}
WinClose ahk_exe serve.exe