Re: InDesign Server speed?
Re: InDesign Server speed?
- Subject: Re: InDesign Server speed?
- From: Bert Groeneveld <email@hidden>
- Date: Wed, 8 Sep 2010 13:54:07 +0200
I'm stuck in traffic.
Is it normal behaviour that InDesign scripts run a lot faster when
executed from within Script Debugger compared to applet execution?
Bert.
On 8 sep 2010, at 13:32, Shane Stanley wrote:
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 (applescript-
email@hidden)
Help/Unsubscribe/Update your Subscription:
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