Indesign export problem
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.