🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #9785

Re: [CS2 Server] Working without selection

#9785
From: Debilo
Date: Mon, 17 Jul 2006 20:25
20 lines
1188 bytes
Dave,

my goal is like your example but instead of removing the items i want to collect all the items to a kind of collection / array / selection. And then export the collection as a SINGLE snippet.

I know that i could export every single pageItem as snippet. But this would result in a big number of snippet files (>100). This is very slow and not very clever!

In desktop ID my code goes like:


for( i = 0; i< spread.pageItems.length; i++ )

{

pageItem = spread.pageItems[i];

pageItem.select( SelectionOptions.addTo );

}

app.copy();
Technical Details
Message-ID: <3bc0efc5.3@webcrossing.la2eafNXanI>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!news3.google.com!news.glorb.com!syros.belnet.be!news.belnet.be!news.stben.net!webcrossing
References: <3bc0efc5.-1@webcrossing.la2eafNXanI>

Show Full Headers
Complete Article Headers
X-Google-Thread: f939a,754b60ae96deb12b
X-Google-Attributes: gidf939a,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: Debilo@adobeforums.com
Newsgroups: adobe.scripting.indesign
Subject: Re: [CS2 Server]  Working without selection
Message-ID: <3bc0efc5.3@webcrossing.la2eafNXanI>
Date: Mon, 17 Jul 2006 13:25:33 -0700
References: <3bc0efc5.-1@webcrossing.la2eafNXanI>
Lines: 18
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!news3.google.com!news.glorb.com!syros.belnet.be!news.belnet.be!news.stben.net!webcrossing