Re: InDesign Server speed?
Re: InDesign Server speed?
- Subject: Re: InDesign Server speed?
- From: Bert Groeneveld <email@hidden>
- Date: Mon, 13 Sep 2010 16:19:16 +0200
What do you mean with "save the current script as a file"? Do you mean
save as .scpt or .app?
I timed and found out that with the technique described below .scpt
executes a lot faster then .app
- - - - -
On 8 sep 2010, at 12:09, Richard Rönnbäck wrote:
Well, that's the overhead of interapplication talk. To avoid it,
save the
current script as a file, and then in your applet code you just have
InDesign's "do script" command (not to be confused with
AppleScript's "run
script") The do script command also takes parameters for undo mode.
The mode
you most likely want is "entire script"
tell application "Adobe InDesign CS4"
do script (alias your script) undo mode entire script
end tell
That will essentially reduce InDesigns undo history to just two
states, one
before the script is run, and one after, as opposed to a potentially
very
large number of undo states.
_______________________________________________
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