Article View: adobe.scripting.indesign
Article #16317Re: [AS] Printing seperate PS files for every file in a Book?
From: Stephen W. White
Date: Wed, 24 Sep 2003 15:59
Date: Wed, 24 Sep 2003 15:59
22 lines
1455 bytes
1455 bytes
Success! I basically explained my method in the previous post, but here goes: set pathToDisk to (choose folder with prompt "Please select the appropriate PDF folder") as string tell application "InDesign 2.0.2" activate set theDocs to full name of book contents of book 1 repeat with i from 1 to count of theDocs open item i of theDocs tell document 1 set docName to name tell print preferences set active printer style to "D. B. Hess PDF" set printer to postscript file set print file to (pathToDisk & docName & ".ps") end tell print without print dialog close saving no end tell end repeat end tell
Technical Details
Message-ID:
<2ccd801e.6@webx.la2eafNXanI>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-01!sn-xit-08!supernews.com!news.tele.dk!news.tele.dk!small.news.tele.dk!npeer.de.kpn-eurorings.net!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!webxReferences:
<2ccd801e.-1@webx.la2eafNXanI>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f939a,a374fc5f1304c8e8 X-Google-Attributes: gidf939a,public X-Google-ArrivalTime: 2003-09-24 09:08:05 PST From: "Stephen W. White" <stephenw@review.com> Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-01!sn-xit-08!supernews.com!news.tele.dk!news.tele.dk!small.news.tele.dk!npeer.de.kpn-eurorings.net!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!webx Newsgroups: adobe.scripting.indesign Subject: Re: [AS] Printing seperate PS files for every file in a Book? Message-ID: <2ccd801e.6@webx.la2eafNXanI> Date: Wed, 24 Sep 2003 08:59:21 -0700 References: <2ccd801e.-1@webx.la2eafNXanI> Lines: 23 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit