Progresss while executing AppleScript

Luis luis at anachreon.co.uk
Tue Sep 26 12:01:32 EDT 2006


You could wrap the AppleScript into an 'app' and control it that way, 
this tool might help: http://www.sveinbjorn.org/platypus

Cheers,

Luis.


Jesse Sng wrote:
>> Not that I've been able to find. Even the syntax:
>>
>> send "theHandlerName" to this stack in 1 millisecond
>>
>> doesn't stop the AppleScript blocking the whole app.
>>
>> The only workaround I can think of is to have a second "helper app" 
>> with no GUI which you use to handle all the AS functions in the 
>> background, but this gets a bit over-complex.
>>
>> Ian
> 
> The problem with this is that I have to use a more complex approach to 
> figure out WHEN the Applescript has finished execution.
> 
> It is easier if my app blocked during the execution, but I bring up a 
> GUI app that shows the passage of time (but not progress) while the 
> Applescript is executing. Once the Applescript is done, I can make that 
> other app to quit via AppleEvents.
> 
> 
> Jesse
> _______________________________________________
> 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
> 
> 



More information about the use-livecode mailing list