Re: InDesign Server speed?
Re: InDesign Server speed?
- Subject: Re: InDesign Server speed?
- From: Shane Stanley <email@hidden>
- Date: Wed, 08 Sep 2010 21:32:12 +1000
- Thread-topic: 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:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden