Pendingmessages

Peter T. Evensen pevensen at siboneylg.com
Fri Mar 2 18:26:05 EST 2007


What I did was make a function that would cache a parameter for a 
message.  When I suspended messages, I calculated the renaming time, and 
when I resumed the messages, I used that as an offset from the current time 
to resend the messages, along with the parameter that I cached, if any, 
based on the message name.

At 05:01 PM 3/2/2007, Ken Ray wrote:
>On Fri, 2 Mar 2007 13:55:49 -0800, Brian Yennie wrote:
>
> > Ken,
> >
> > Very clever... one question: how do you deal with the actual timing
> > of those messages, or do these scripts assume that everything pending
> > should be processed ASAP? Or am I confused (entirely possible!)?
>
>It assumes that everything pending should be processed immediately on
>ResumePending. Although it wouldn't be too hard to maintain some
>metadata for the "send in" interval, and subtract the actual amount of
>time elapsed just before pausing from that interval so that on Resume
>it would wait the remaining time and then execute...
>
>
>Ken Ray
>Sons of Thunder Software, Inc.
>Email: kray at sonsothunder.com
>Web Site: http://www.sonsothunder.com/
>_______________________________________________
>use-revolution mailing list
>use-revolution at lists.runrev.com
>Please visit this url to subscribe, unsubscribe and manage your 
>subscription preferences:
>http://lists.runrev.com/mailman/listinfo/use-revolution

Peter T. Evensen
http://www.PetersRoadToHealth.com
314-629-5248 or 888-682-4588 




More information about the use-livecode mailing list