; A simply AutoHotKey script that checks for the ; RightBooth Start and Thank you screen when the event is playing ; Variables to track the display status of the 2 RightBooth screens StartScreenIsShowing = 0 ThankyouScreenIsShowing = 0 ; Run a continuous loop waiting for various Window Titles to appear in RightBooth Loop { ; Check for the RightBooth Start screen if WinExist("RightBooth 7 Start") { ; The RightBooth Start screen is now showing ; Set the Thank you screen tracking variable to 0 ThankyouScreenIsShowing = 0 if (StartScreenIsShowing = 0) { ; You can now do something relating to the Start screen here ; In this demo we simply show a Message Box MsgBox, RightBooth is showing the Start screen ; Setting this tracking variable to 0 prevents this script section from ; running more than once each time the Start screen is shown StartScreenIsShowing = 1 } } ; Check for the RightBooth Thank you screen if WinExist("RightBooth 7 Thank you") { ; The RightBooth Thank you screen is now showing ; Set the Start screen tracking variable to 0 StartScreenIsShowing = 0 if (ThankyouScreenIsShowing = 0) { ; You can now do something relating to the Thank you screen here ; In this demo we simply show a Message Box MsgBox, RightBooth is showing the Thank you screen ; Setting this tracking variable to 0 prevents this script section from ; running more than once each time the Thank you screen shows ThankyouScreenIsShowing = 1 } } } return