0

Conditional timer based on inactivity

I'm working with a free-standing touch-screen kiosk that I want to show a rotation of slides in the main image zone until someone steps up and begins to interact with a series of touch-screen buttons.  Presumably the user will conduct their interaction and than walk away after 2-3 minutes.  I would like to set a timer such that, after so many minutes of no navigation the random slide-show will resume.  It would seem this could be done with a "not" command of some type that compares last touch-event against a worst-case play time, plus some reasonable buffer.

Anyone have experience with this?

Thanks

2 comments

  • 0
    Avatar
    Allen H. Porter

     

    This link is to a Presentation that has a see-thru PNG at the top zone.  Attached to that PNG is a touch event that resets a variable that otherwise counts down and at zero plays something else.  You use a Conditional statement to decide when the time is right to play something else.

    https://www.dropbox.com/s/qgeggh1v0022q1h/TouchInactivityTimeout.zip?dl=0

     

  • 0
    Avatar
    Allen H. Porter

    By the way, all of the magic happens with the "watchdog" zone of that presentation.

Please sign in to leave a comment.