Stupid Send in Time Question

Judy Perry jperryl at ecs.fullerton.edu
Tue Sep 22 22:50:44 EDT 2009


Thank you, Sarah.

So, do I have this properly?:

If I used my brain and came up with an intelligent naming system for my 
images I could use a loop, but, I didn't and so I won't;

It's not a slideshow, so that's out;

and, that leaves

Use wait with messages... think I'll go with that!

Thank you again!

Judy



On Wed, 23 Sep 2009, Sarah Reichelt wrote:

> if you use "wait with messages", then it won't be too bad, as the
> interface will not appear to be frozen i.e. the window can be moved
> around the screen etc.
> Resizing will not work as the resizeStack message will not be sent
> until after your loop.
>
> The "send in time" method can be done in a couple of ways.
> You can have a series of handlers, with the last line of each doing
> the send in time.
> Or you can have a single handler with a script local or global
> containing a counter. The handle could check the value of this
> counter, so something based on the value, increment the counter, then
> "send in time" back to the original handler.
>
> However, if this is just a slideshow type thing, how about putting
> each image on a new card, and using a handler like this:
> command nextSlide
>   go next card
>   send "nextSlide" to me in 10 seconds
> end nextSlide
>
> Any additional scripting needed could be in the preOpenCard or
> openCard handler for each card.



More information about the use-livecode mailing list