Do ... as Applescript, bugs??

Sarah Reichelt sarah.reichelt at gmail.com
Sun Apr 11 18:25:49 EDT 2010


On Mon, Apr 12, 2010 at 4:18 AM, Andrew Meit <meitnik at bellsouth.net> 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

Why?

In revTalk, you can just use:
   do AS_stmts as Applescript
and it doesn't need to be pre-compiled. You can save it as text if you
want and then pull it into your app or stack and "do" it.
Running it through the Script Editor first seems an unnecessary step.

Cheers,
Sarah



More information about the use-livecode mailing list