Article View: adobe.scripting.indesign
Article #10238Re: Select all pages
From: filip_degryse
Date: Wed, 28 Jun 2006 20:08
Date: Wed, 28 Jun 2006 20:08
39 lines
1646 bytes
1646 bytes
Hi guys, This one works, but... when all page items are unlocked, the arrange order is changed. Can I avoid this? Thx for all the help for this novice ;-) Fil set v_CR to ASCII character 13 set v_SourcePageNumber to 1 --count records tell application "Adobe InDesign CS2" set v_NumberOfPages to Count Data Source Records document 1 end tell --make new pages tell application "Adobe InDesign CS2" tell document 1 repeat v_NumberOfPages - 1 times set v_NewPage to duplicate page v_SourcePageNumber end repeat end tell end tell --apply the master tell application "Adobe InDesign CS2" tell document 1 repeat v_NumberOfPages times set the applied master of every page of every spread to master spread 1 end repeat end tell end tell tell application "Adobe InDesign CS2" tell active document repeat with i from 1 to count of pages try override page items of applied master of page i destination page (page i) end try end repeat end tell end tell
Technical Details
Message-ID:
<3bc0bb80.5@webcrossing.la2eafNXanI>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!news2.google.com!news.germany.com!news.datemas.de!news.albasani.net!news.ecp.fr!news.stben.net!webcrossingReferences:
<3bc0bb80.-1@webcrossing.la2eafNXanI>Show Full Headers
Complete Article Headers
X-Google-Thread: f939a,c65ccff193882f8 X-Google-Attributes: gidf939a,public X-Google-Language: ENGLISH,ASCII-7-bit From: filip_degryse@adobeforums.com Newsgroups: adobe.scripting.indesign Subject: Re: Select all pages Message-ID: <3bc0bb80.5@webcrossing.la2eafNXanI> Date: Wed, 28 Jun 2006 13:08:09 -0700 References: <3bc0bb80.-1@webcrossing.la2eafNXanI> Lines: 42 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!news2.google.com!news.germany.com!news.datemas.de!news.albasani.net!news.ecp.fr!news.stben.net!webcrossing