• 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 CS3 PDF export on 10.5
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

indesign CS3 PDF export on 10.5


  • Subject: indesign CS3 PDF export on 10.5
  • From: Håvard Graudo <email@hidden>
  • Date: Fri, 4 Apr 2008 16:43:36 +0200

I have a couple of similar scripts that have been running on InDesign CS3 on OS 10.4.
They have exported thousands of pages for print and are considered tried and tested.


When moving users to OS 10.5 I sometimes get horrible errors. Most of the time it works, but I can get any of these:

A random picture missing in the PDF
Clipping paths ignored on some pictures
Pictures are upside down (!)

I am in the early stages of investigation, but I have found this:
* It only happens when I script the PDF export.
* It seems to happen at random
* error rate is low with <1% of the pictures effected
* errors are not consistent.
* Pictures are EPS with JPEG encoded data and clipping paths
* I have only run into this on Intel-boxes

Has anyone else seen this?

Håvard



Here is a boiled down script that will export every open InDesign document. Saved as an app and run from Script panel.
I removed all the errorchecking so I may have screwed up something as well. This approach has worked flawlessly on OS 10.4.


---
property convertSpotToProcess : true

my main()

on main()
tell application "Adobe InDesign CS3"
set alleExportFormater to name of every PDF export preset
set alleDok to name of every document
tell document 1
set valgtExportFormat to (choose from list alleExportFormater with prompt "Hvilken utskriftsMal skal brukes?")
if valgtExportFormat = false then error number -128
set targetmappe to my velgmappe()
end tell -- doknavn
set valgtExportFormat to PDF export preset (valgtExportFormat as text)

repeat with ggg in alleDok
set doknavn to ggg as text

tell PDF export preferences
set page range to all pages
end tell


set filnavn to doknavn
if filnavn ends with ".indd" then set filnavn to text 1 thru -6 of filnavn
set filnavn to filnavn & ".pdf"
tell document doknavn
if convertSpotToProcess then set convert to process of (every ink whose is process ink is false) to true
set targetfil to (targetmappe & filnavn) as string
with timeout of 40 * 60 seconds
export format PDF type to targetfil using valgtExportFormat without showing options
end timeout
delay 1
end tell
end repeat
say "Your PDFs are ready"
end tell
end main



on velgmappe() try tell me to activate end try return (choose folder with prompt "Hvor skal PDFene legges?") end velgmappe ---


_______________________________________________ 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 CS3 PDF export on 10.5
      • From: Håvard Graudo <email@hidden>
  • Prev by Date: Re: Adding a slide to Keynote
  • Next by Date: FileMaker Create Record Target
  • Previous by thread: Re: FileMaker Create Record Target
  • Next by thread: Re: indesign CS3 PDF export on 10.5
  • Index(es):
    • Date
    • Thread