Idle timeout on Mac

  1. 2 years ago

    David S

    10 Oct 2018 Testers, Xojo Pro

    Is there a way to quit the Xojo desktop app when computer is idle for specified period of time (such as 15 minutes)?

  2. David C

    11 Oct 2018 Testers, Xojo Pro, XDC Speakers Derby, ITM

    Create a global Date variable and whenever there is user activity, set it to the current date and time. Also have a Timer that fires each minute that checks if this global Date variable is > XX minutes from the current date and time — if so, then quit.

  3. David S

    11 Oct 2018 Testers, Xojo Pro

    Will do, thanks.

or Sign Up to reply!