Losing track of time
Howard Bornstein
bornstein at designeq.com
Sat Aug 9 11:28:01 EDT 2003
>Is it possible that scripts are running at the time when the message is
>meant to be delivered?
Nope, at least not in my tests. Two simple scripts:
on mouseup
global sendID
cancel sendID
put fld "TheTime" into timer
if timer is not empty then
send reminder to this stack in timer*60 seconds
put the result into sendID
end if
end mouseup
on reminder
global SendID
put fld "TheTime" into timer
send reminder to me in timer*60 seconds
put the result into sendID
play "chime2.wav"
end reminder
After it executes the mouseup, it just waits for the send to come back.
That's it!
Now in the real world, I've got a mousemove handler that controls the
cursor and I'll have to look at this later. But for my test, I didn't
touch the PC for several hours, so it should have never been evoked.
Regards,
Howard Bornstein
____________________
D E S I G N E Q
www.designeq.com
More information about the use-livecode
mailing list