Re: InDesign Server speed?
Re: InDesign Server speed?
- Subject: Re: InDesign Server speed?
- From: Bert Groeneveld <email@hidden>
- Date: Wed, 8 Sep 2010 20:53:12 +0200
Thanks for the help in the first place.
The "undo mode entire script" code fails to compile on my machine (or
is it only compatible with CS4?)
Beside that: Is it also possible to call a certain handler in a
script? Something like:
tell application "Adobe InDesign CS4"
do handler myHandler() of script (alias your script)
end tell
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