Im running a game called Pinball FX2. At the end of playing a game a default menu appears giving you option to replay or exit the game. I want some sort of macro or script that can detect the end of the game and will exit the game itself. Im happy for the script/macro to kill the process entirely. I just need the game to exit on its own !