Do ... as Applescript, bugs??

Ian Wood revlist at azurevision.co.uk
Sun Apr 11 14:37:34 EDT 2010


On 11 Apr 2010, at 19:18, Andrew Meit wrote:

> Ahh I had an insight to rework it and now it works. However, am  
> always wanting to work smart than hard...
> I am creating AS statements on the fly via Rev then sending them to  
> Applescript editor to be compiled and saved via clipboard.
> Is there a way to send a list of AS statements to AS to be compiled  
> and saved?
>
> Like this?
>
> do "Tell process "&"Applescript"&cr&"to compile "&AS_stmts as  
> Applescript
>
> thanks, andrew

You can compile AppleScripts via the command line although I've not  
done much of it. Have a look at osacompile and osascript in the  
Terminal.

http://developer.apple.com/mac/library/documentation/Darwin/Reference/ManPages/man1/osacompile.1.html

Ian




More information about the use-livecode mailing list