• 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
InDesign export slows to a crawl
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

InDesign export slows to a crawl


  • Subject: InDesign export slows to a crawl
  • From: Håvard Graudo <email@hidden>
  • Date: Mon, 14 Oct 2013 16:41:16 +0200

I have some InDesign documents with several hundred pages. Small, very similar pages; 1 picture, a logo, some text. Very basic stuff.

I want to export the pages as single PDFs picking up info from the page to use for naming the files. (ie product, serial number)

When I export by Applescript InDesign starts off spitting out around 20-30 pages pr minute, but gets slower and slower and in the end it will use several minutes pr page. This has been so with ID 5, ID 6 and ID CC.

If I export ie 800 pages at once it will take 4-5-6 hours to complete.
If I rather export 100 pages. Wait until it finishes. Then export another 100 pages I can get 800 pages done in 30 minutes.

Here is some code. (I have removed error checking and some other stuff.) I pick up the filename from a box in a layer and export:

--
tell application "Adobe InDesign CS6"
set myExportFormat to (choose from list (name of every PDF export preset) with prompt "Choose export pref?") as string
set targetfolder to choose folder with prompt "Choose folder for export?"
tell document 1
set pagename to (name of every page)
repeat with apage in pagename
set finnFilnavn to (every text frame of page apage whose name of item layer is "filename")
set filnavn to contents of (item 1 of item 1 of finnFilnavn)
set newname to (filnavn & ".pdf") as string

tell PDF export preferences of application "Adobe InDesign CS6" to set page range to (apage as string)
ignoring application responses
asynchronous export file format PDF type to ((targetfolder & newname) as string) using myExportFormat without showing options
end ignoring
delay (1) -- give ID some time to breath
end repeat

end tell
end tell

--

I then tried to pick up and sort all the filenames/pages first, and putting the repeat loop only around the export command, but that is just as slow.

Any suggestions?

Håvard









 _______________________________________________
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


  • Follow-Ups:
    • Re: InDesign export slows to a crawl
      • From: Shane Stanley <email@hidden>
    • Re: InDesign export slows to a crawl
      • From: Helmut Fuchs <email@hidden>
  • Prev by Date: Rép: Strings used by Spotlight
  • Next by Date: Re: InDesign export slows to a crawl
  • Previous by thread: Rép: Strings used by Spotlight
  • Next by thread: Re: InDesign export slows to a crawl
  • Index(es):
    • Date
    • Thread