• 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 problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Indesign export problem


  • Subject: Indesign export problem
  • From: Nan Mossey <email@hidden>
  • Date: Tue, 27 Jan 2004 13:58:21 -0500

The following script is intended to work its way through a large Indesign
document and export each page as an individual PDF. For some reason, it will
not set the page range to the current page. I haven't been able to
accomplish this by printing to .ps files, either. Is page range not
scriptable in Indesign?

set theHD to (path to startup disk as string)
set folderPath to theHD & "Publication:"
tell application "InDesign CS"
activate
set theDoc to document 1
tell theDoc
repeat with i from 1 to count of all pages
set filePath to folderPath & i & ".pdf"
set properties of PDF export preferences to {page range:i}
export format "Adobe PDF" to filePath using "Vertis"
end repeat
end tell
end tell



Thanks for any insight.

-Nan Mossey

========================================================
This e-mail message is intended only for the personal
use of the recipient(s) named above. If you are not
an intended recipient, you may not review, copy or
distribute this message.

If you have received this communication in error,
please notify the Albany Times Union Help Desk
(email@hidden) immediately by e-mail and
delete the original message.
========================================================
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: Indesign export problem
      • From: Jeremy Sellors <email@hidden>
    • MS Word Text Boxes Scriptable?
      • From: Jason Bourque <email@hidden>
    • Re: Indesign export problem
      • From: Jakob Peterhänsel <email@hidden>
References: 
 >Creating signature in Mail.app (From: Norman Cohen <email@hidden>)

  • Prev by Date: Re: Why is this?
  • Next by Date: Re: Running a script in both OS 9 and 10
  • Previous by thread: Creating signature in Mail.app
  • Next by thread: Re: Indesign export problem
  • Index(es):
    • Date
    • Thread