Article View: adobe.scripting.indesign
Article #9635Re: How to name PDF export using InD current file name?
From: Dave_Rioux
Date: Tue, 15 Aug 2006 18:04
Date: Tue, 15 Aug 2006 18:04
8 lines
1229 bytes
1229 bytes
Hi Dave
Thanks for your help. I think I may have bit off more than I can chew. As I said, I know little about scripting so far.. my plan was to take some sample script and edit them as I needed, hopefully learning along the way.
However, your script seems to have a lot more going on. And unfortunately I haven't been able to pick out the commands I need, over the ones I don't. Any suggestions?
var myPDFExportPreset = app.pdfExportPresets.item("McDougal Fat PDF");
app.activeDocument.exportFile(ExportFormat.pdfType, File("/Users/mac/Desktop/myTestDocument.pdf"), false, myPDFExportPreset);
Technical Details
Message-ID:
<3bc144b2.5@webcrossing.la2eafNXanI>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!news4.google.com!news2.volia.net!news.ecp.fr!news.stben.net!webcrossingReferences:
<3bc144b2.-1@webcrossing.la2eafNXanI>Show Full Headers
Complete Article Headers
X-Google-Thread: f939a,1aed37f8dc66a37e X-Google-Attributes: gidf939a,public X-Google-Language: ENGLISH,ASCII-7-bit From: Dave_Rioux@adobeforums.com Newsgroups: adobe.scripting.indesign Subject: Re: How to name PDF export using InD current file name? Message-ID: <3bc144b2.5@webcrossing.la2eafNXanI> Date: Tue, 15 Aug 2006 11:04:41 -0700 References: <3bc144b2.-1@webcrossing.la2eafNXanI> Lines: 14 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!news4.google.com!news2.volia.net!news.ecp.fr!news.stben.net!webcrossing