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

RE: Indesign export problem


  • Subject: RE: Indesign export problem
  • From: Dennis Cox <email@hidden>
  • Date: Tue, 27 Jan 2004 14:03:35 -0600

i is a number, page range takes a string. Perhaps coerce i to a string?

Dennis

> ----------
> From: Nan Mossey
> Sent: Tuesday, January 27, 2004 12:58 PM
> To: Applescript List
> Subject: Indesign export problem
>
> 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.
_______________________________________________
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.

  • Prev by Date: Re: Why is this?
  • Next by Date: Re: Why is this?
  • Previous by thread: "An error of type -10818 has occurred (-10818)"
  • Next by thread: Re: Indesign export problem
  • Index(es):
    • Date
    • Thread