Re: InDesign Server speed?
Re: InDesign Server speed?
- Subject: Re: InDesign Server speed?
- From: Richard Rönnbäck <email@hidden>
- Date: Wed, 08 Sep 2010 13:54:05 +0200
- Thread-topic: InDesign Server speed?
And it seems to me that is has gotten progressively slower over the last few
AppleScript releases. Wouldn't you agree?
It is not only that it executes slowly, but applets also initiates slowly,
which sometimes is a real bummer.
I hope Apple looks into this in the future.
I would love to get a thorough introduction in AppleScriptObjC. If you write
a book (which I think you should :-) ) about it, I promise I will by at
least three copies, for me and a couple of friends :-)
> Från: Shane Stanley <email@hidden>
> Datum: Wed, 08 Sep 2010 21:32:12 +1000
> Till: AS users <email@hidden>
> Ämne: Re: InDesign Server speed?
>
> On 8/9/10 8:09 PM, "Richard Rönnbäck" <email@hidden> wrote:
>
>> Well, that's the overhead of interapplication talk.
>
> Partly, but what it really reflects is the fact that the standard applet
> shell is so slow.
>
> Using "do script" is the answer for InDesign, but for other apps you can
> wrap the top level stuff as a script object, then call it using run script:
>
> script myScript
> -- stuff from your [implied] run handler here
> end script
>
> run script myStuff
>
> The only downside is that you lose property persistence.
>
> Another solution is to write your own script applet shell in
> AppleScriptObjC. It's pretty easy to do, and in most cases you'll then just
> need to copy the main.scpt file from the standard shell to the new one. The
> downside is that it will be 10.6 only; the upside is that inheritance means
> you'll have access to all sorts of Cocoa stuff without having to deal with
> Xcode/Interface Builder.
>
> --
> Shane Stanley <email@hidden>
>
>
>
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> AppleScript-Users mailing list (email@hidden)
> Help/Unsubscribe/Update your Subscription:
> sult.se
> Archives: http://lists.apple.com/archives/applescript-users
>
> This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden