Script for executable idle timer

Terry Judd terry.judd at unimelb.edu.au
Wed Nov 13 14:01:36 EST 2013


On 14/11/2013, at 03:04 AM, Mark Wieder wrote:

> 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.

System windows are good for this.
> 
> -- 
> -Mark Wieder
> ahsoftware at gmail.com
> 
> 
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
> 

Dr Terry Judd
Senior Lecturer in Medical Education
Medical Education Unit
Faculty of Medicine, Dentistry & Health Sciences
The University of Melbourne









More information about the use-livecode mailing list