Stupid Send in Time Question

Phil Jimmieson phil at liverpool.ac.uk
Wed Sep 23 03:28:32 EDT 2009


Hi Judy,
how about putting the names of all of your images as comma separated  
items in a list, and then retrieving one item after the other?
You could use a loop there.

On 23 Sep 2009, at 03:50, Judy Perry wrote:

> 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.
> _______________________________________________
> 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

--
Phil Jimmieson  phil at liverpool.ac.uk  (UK) 0151 795 4236  (Mobile)  
07976 983164
Computer Science Dept., Liverpool University, Ashton Building, Ashton  
Street
Liverpool L69 3BX              http://www.csc.liv.ac.uk/~phil/
I used to sit on a special medical board... ...but now I use this  
ointment.







More information about the Use-livecode mailing list