updating progress to user during long handler

Mark Waddingham mark at livecode.com
Tue Feb 23 11:30:21 EST 2016


On 2016-02-23 15:23, James Hale wrote:
> I thought I could use something like this...
> 
>     put "Extracting epub...." into mupdate
>     send "updateme mupdate" to stack "splash"
>     wait 0 milliseconds with messages
> 
> at different places within the processing handler and it would send
> the text off an update the splash stack field.
> (updateme is a handler in the splash stack script which simply enters
> "mupdate" into the field.)

As far as I can see, that should work fine - the screen is updated after 
every command is executed (if necessary - i.e. something has changed) 
unless the commands are executed inside of a lock screen...

Mark.

-- 
Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/
LiveCode: Everyone can create apps




More information about the Use-livecode mailing list