progress bar stalls

Ken Ray kray at sonsothunder.com
Fri Aug 30 16:15:00 CDT 2002


Brad,

If you can use "open process" instead of "shell" (at least for Windows),
that will allow you to continue updating your progress bar. I don't know if
it works the same for Mac and AppleScript, though...

Ken Ray
Sons of Thunder Software
Email: kray at sonsothunder.com
Web Site: http://www.sonsothunder.com/

----- Original Message -----
From: "Brad Allen" <BradAllen at mac.com>
To: <use-revolution at lists.runrev.com>
Sent: Friday, August 30, 2002 3:26 PM
Subject: progress bar stalls


> I'm using a progressbar to provide the user a sense the the script is
> progressing, but it's not as smooth as I would like, due to a lack of
> multithreading in the script. In fact, script execution (and
> therefore the progressbar) completely stops moving while waiting for
> certain commands to execute, such as DOS shell commands or do
> Applescript commands.
>
> I tried using the "send" command to trigger delayed messages to my
> updateProgressMessage handler, but these delayed send messages were
> for some reason held up while the shell command was executing.
>
>    --  send "updateProgressMessage " & quote & "Please wait.
> Generating report......" & quote & ",55" to this stack in 60 seconds
>
> Any ideas on this? Thanks...
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/use-revolution
>




More information about the use-livecode mailing list