Can Rev run 2 scripts simultaneously?
Igor Couto
igor at pixelmedia.com.au
Fri Jul 18 07:28:01 EDT 2003
HI all!
I have a project in which there is a script that drives some drawing
accompanied by an animation in a window (stack). The problem is that
depending on the drawing/animation settings that the user applies, the
entire process can take up to a couple of minutes. Even though I have
provided a progress bar to give feedback to the user, I have found that
while the drawing and animation are taking place, I can't do anything
else! - Rev's menus don't respond until the script ends.
I would very much like to be able to carry on with other tasks, while
the drawing and the animation keeps running in the background - is that
at all possible?
I thought that if I used the 'send ... in time' command form, that it
might solve the problem. So setup a button with the send command in a
substack, trying to use that to trigger the animation. Nevertheless,
even though the button's script is finished, once the drawing script
starts in the other stack, I don't seem to be able to use any other
interface item until it is finished! What am I missing?
I feel that somehow I should be able to run 2 or more scripts
simultaneously - but can't seem to find a way to do that!
thanks in advance for any insights!
--
Igor de Oliveira Couto
----------------------------------
igor at pixelmedia.com.au
----------------------------------
More information about the use-livecode
mailing list