Script for executable idle timer

Mark Wieder mwieder at ahsoftware.net
Wed Nov 13 11:04:40 EST 2013


Skip-

> on checkIdle
>   global lastActTime
>   if the seconds > lastActTime + 3600 then
>       close this stack --or whatever, last chance dialog, etc.
>   end if
>   send checkIdle to me in 30 minutes
> end checkIdle

...and *don't* use a modal dialog for the "last chance" approach. Put
another timeer in that dialog if necessary and then close or revert or
whatever.

-- 
-Mark Wieder
 ahsoftware at gmail.com





More information about the use-livecode mailing list