So I'm not sure what's wrong, when I launch a table it launches but I have to click on the screen to regain control of the pinball (otherwise future pinball does not respond to any key presses). Other than that it runs great. I just have to click the screen after launching the first pinball table (so the first pinball table works fine without clicking).
Here's my script, anybody have an idea what may be causing this?
else if (systemName = "Future Pinball" && executable = "Future Pinball.exe")
Hotkey, %exitEmulatorKey%, CloseProcess
Gui +AlwaysOnTop -Caption +ToolWindow
Gui, color, 0
Gui Show, x0 y0 h%A_ScreenHeight% w%A_ScreenWidth%,
Runwait, "%emuPath%%executable%" /open "%romPath%%romName%%romExtension%" /play /exit %emuPath%, Hide UseErrorLevel
Process, waitClose, %exectuable%
process, close, X-Pinball.exe