Article View: adobe.scripting.indesign
Article #1984Export PDF Workflow with Applescript and CS3
From: Bertus_Bolknak
Date: Thu, 22 Jan 2009 19:35
Date: Thu, 22 Jan 2009 19:35
18 lines
1722 bytes
1722 bytes
Hello, I am setting up some PDF workflow with Applescript. On a given moment, as my script runs and after getting some user-input answers to questions in some dialogs, my script tells InDesign CS3 to open the Export Adobe PDF window for the current document. I copied and pasted that small part of the script: tell application "Adobe InDesign CS3" tell document 1 export format PDF type to "Macintosh_HD:Test01.pdf" using "somePreset" with showing options end tell end tell When you run this small part of my Applescript, InDesign opens the Export Adobe PDF window (as expected) waiting for me to click on "Export". That is exactly what I want, since the user is given here a last opportunity to change some values (for example page range, or spreads). When all is set, the user can click on Export to close the dialog and finish the script. Problem: I was hoping that the Adobe PDF Preset "somePreset" would be selected in the first pull-down menu of the Export Adobe PDF window when this window is opened by the script. Unfortunately the last used preset is always selected by default. Anyone suggestions or help? Kind regards, Bertus Bolknak.
Technical Details
Message-ID:
<59b79639.-1@webcrossing.la2eafNXanI>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!newshub.sdsu.edu!webcrossingShow Full Headers
Complete Article Headers
X-Google-Thread: f939a,8ca4a9de122fd5a2,start X-Google-Attributes: gidf939a,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit From: Bertus_Bolknak@adobeforums.com Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!newshub.sdsu.edu!webcrossing Newsgroups: adobe.scripting.indesign Subject: Export PDF Workflow with Applescript and CS3 Message-ID: <59b79639.-1@webcrossing.la2eafNXanI> Date: Thu, 22 Jan 2009 11:35:42 -0800 Lines: 30 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit