Basically, I have a launcher apple script that I call tell osascript  
to run (primarily consisting of the "do script"). The parameters I  
pass to osascript are the location of the 'main' compiled script file  
on disk, as well as other params needed for the main compiled script.

I haven't run into any problems so far, the automation app has run  
for weeks, at times calling an applescript every couple of seconds.

The scripts are even hot-swappable, since I'm just calling files on  
disk -- when I need to update a script, I just swap it out. No need  
to recompile or reboot the application.

John

On May 15, 2007, at 12:46 PM, Norman Palardy wrote:

> I dont tend to use a lot of AS in my apps so I'd never noticed this
> If running through osascript makes it work better (ie/ cleans up the
> leaks) then that's good
>
> Still doesn't integrate as nicely but that's not that hard to work
> around if I wrap a RB method around a call to osascript in a
> synchronous shell
>
> Any downsides (encoded text , passing paramaters, etc ) that you've
> encountered ?

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to