how to make things happen at specific times

Sarah Reichelt sarah.reichelt at gmail.com
Wed Apr 8 00:04:50 EDT 2009


On Wed, Apr 8, 2009 at 1:57 PM, Peter Alcibiades
<palcibiades-first at yahoo.co.uk> wrote:
> What;s the approved method of doing something at a particular time?  Like,
> it would be nice to be able to send a daily email at for instance 4pm?  Is
> it necessary to check the time every so often and see what time it is,
> with a frequency proportional to the desired precision?

Calculate the number of seconds until your required time, then use
"send in time" to have your handler called at that time.
Just make sure that you don't re-schedule the next day's event until
at least 1 second has passed, or it might do it again immediately.

Cheers,
Sarah



More information about the use-livecode mailing list