Article View: adobe.scripting.indesign
Article #16308Re: [AS] Printing seperate PS files for every file in a Book?
From: Kari Puikkonen
Date: Wed, 24 Sep 2003 00:16
Date: Wed, 24 Sep 2003 00:16
25 lines
1433 bytes
1433 bytes
I have been struggling with the same kind of problem.
I thought this approach would be successful, but no, it just prints all the documents of the book to the same .ps fileοΏ½
set myIdsList to {}
tell application "InDesign 2.0.2"
set myBook to book 1
tell myBook
set myIds to id of book contents of myBook
repeat with myIdsCounter from 1 to (count of myIds)
copy (item myIdsCounter of myIds) to end of myIdsList
set myIdNumber to (item myIdsCounter of myIdsList) as string
end repeat
tell myBook
print myIdNumber
end tell
end tell
end tell
Could somebody point me whats wrong with this approach?
Kari the Puzzled
Technical Details
Message-ID:
<2ccd801e.2@webx.la2eafNXanI>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!news.tele.dk!news.tele.dk!small.news.tele.dk!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 X-Google-Thread: f939a,a374fc5f1304c8e8 X-Google-Attributes: gidf939a,public X-Google-ArrivalTime: 2003-09-23 17:37:54 PST From: "Kari Puikkonen" <kari.puikkonen@welho.com> Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!news.tele.dk!news.tele.dk!small.news.tele.dk!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.2@webx.la2eafNXanI> Date: Tue, 23 Sep 2003 17:16:40 -0700 References: <2ccd801e.-1@webx.la2eafNXanI> Lines: 22 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit