global startSeconds
on idle
if startSeconds is empty then
put the seconds into startSeconds
end if
if the seconds - startSeconds > 5 * 60 then timeOut -- for a 5 min. timeout
end idle
on timeOut answer "time's up!" put empty into startSeconds end timeOut
The problem with this approach of course is there is no way to reset the startSeconds unless the timeOut handler runs. I don't want to have to trap every single mouse and keyboard event to reset startSeconds.
I know there has to be an easy way to do this. My brain is just not grasping it today.
Devin Asay Humanities Technology and Research Support Center Brigham Young University
_______________________________________________ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
