Start RoboFocus before running the script. It should stay running if it honors Windows rules.