• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

PDF Export Preferences Separate PDFs Checkbox Options in Javascript

Enthusiast ,
Oct 21, 2019 Oct 21, 2019

Copy link to clipboard

Copied

I have a couple lines of code that are exporting PDFs for me. Problem is, the PDF export remembers the last settings used. Is there anyway to access the "Create Separate PDFs" feature through scripting? The purpose of my script is to take a multipage document, and turn it into 1 PDF, but if I use this checkbox, the next time I end up with hundreds of PDFs instead of 1. I could use the presets but would rather create my own settings for consistency.

 

I was unable to locate any settings through http://jongware.mit.edu/idcs6js/pc_PDFExportPreference.html

TOPICS
Scripting

Views

340

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Oct 21, 2019 Oct 21, 2019

Copy link to clipboard

Copied

LATEST

This property lies with the pdfExportPreset and not pdfExportPreference. See the exportAsSinglePages property in the following link

https://www.indesignjs.de/extendscriptAPI/indesign-latest/#PDFExportPreset.html

 

This feature was added in CC2018 onwards i suppose, so keep that in mind. So the ideal thing would be to create your own preset with this setting enabled(which can be altered by scripting as well) and use that to export.

 

-Manan

 

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines