Article View: adobe.scripting.indesign
Article #1129CS3/4 JS: PDF preset problem
From: Peter Kahrel
Date: Tue, 17 Feb 2009 20:48
Date: Tue, 17 Feb 2009 20:48
12 lines
1118 bytes
1118 bytes
I'm having a hard time with an option in the pdfExportPresets. I can change almost everything, but not ExportLayersOptions. I'm trying this:
p = app.pdfExportPresets.item ('[Press Quality]').duplicate();
p.exportWhichLayers = ExportLayerOptions.exportVisibleLayers;
For good measure I tried the numeric enumeration as well: p.exportWhichLayers = 1702393452, but that didn't improve things. All the other options that I tried worked fine, it's just this one that's stuck at Visible & Printable.
Any comments welcome.
Thanks,
Peter
Technical Details
Message-ID:
<59b7f76c.-1@webcrossing.la2eafNXanI>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!news.glorb.com!news2.glorb.com!newshub.sdsu.edu!webcrossingShow Full Headers
Complete Article Headers
X-Google-Thread: f939a,34588e5e5ef6053,start X-Google-Attributes: gidf939a,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit From: "Peter Kahrel" <kahrel@kahrel.plus.com> Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!news.glorb.com!news2.glorb.com!newshub.sdsu.edu!webcrossing Newsgroups: adobe.scripting.indesign Subject: CS3/4 JS: PDF preset problem Message-ID: <59b7f76c.-1@webcrossing.la2eafNXanI> Date: Tue, 17 Feb 2009 12:48:56 -0800 Lines: 16 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit