• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: InDesign Server speed?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
References: 
 >Re: InDesign Server speed? (From: Richard Rönnbäck <email@hidden>)

  • Prev by Date: Re: Getting file suffix
  • Next by Date: Getting the maximum value and minimal values in a list
  • Previous by thread: Re: InDesign Server speed?
  • Next by thread: Re: InDesign Server speed?
  • Index(es):
    • Date
    • Thread