I'm creating a kiosk application and want to add a "Time Out" function. Essentially, if nothing has been done (clicked on) for 5 minutes - I want the application to go to a specific page that will play a looped video until a user clicks on something.
Here's my logic:
- When the application launches, start a time counter; although I'm not sure if this should be a "Global Function" or an "On Startup" event??
- Apply an "on-click" action to every button in the application that resets the counter to zero
- If the counter reaches 5 minutes (or ?? value), then go to page X
I guess that what I'm looking for is guidance on what type of action or scripts I should be using? Has anyone built anything like this before?
Thanks in advance for any help!

Everyone knows that T-Eye-Dubble-Guh-Rrrrrrs are never thquare.