repeated send-comands

R. Hillen mail at richard-hillen.de
Mon Sep 22 15:43:01 EDT 2003


Hello List,

I want to display some pictures, one after another (somewhat like a 
dia-show)
and to be able to stop the show at any time by pressing a button.
The pictures are very big, so loading from CD and scaling takes some 
time too.

With T1 = Intervall between to pictures it should be somewhat like
--
send "show picture1" in T1 seconds
wait until picture1 is shown
send "show picture2" in T1 seconds
wait until ....
....
--

But this doesn´t work, as the wait beetween the send-commands blocks 
clicking the stop button.

So I tried somewhat like

--
send "show picture1" in 1* T1 seconds
send "show picture2" in 2* T1 seconds
....
--

This also is no good solution, if you look in the send-pipe.

What is the better solution?
May I get some help how to do it?

Thanx in advance
Richard Hillen.



More information about the use-livecode mailing list