🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #9779

Re: [CS2 Server] Working without selection

#9779
From: Dave_Saunders
Date: Mon, 17 Jul 2006 19:05
11 lines
865 bytes
Something like this:

myPIs = app.documents[0].pageItems;
myLayer = app.documents[0].layers.item("A");
for (j = myPIs.length - 1; j >= 0; j--) {
  if (myPIs[j].itemLayer == myLayer) {
    myPIs[j].remove();
  }
}

Dave
Technical Details
Message-ID: <3bc0efc5.2@webcrossing.la2eafNXanI>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!news4.google.com!news2.volia.net!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: Dave_Saunders@adobeforums.com
Newsgroups: adobe.scripting.indesign
Subject: Re: [CS2 Server]  Working without selection
Message-ID: <3bc0efc5.2@webcrossing.la2eafNXanI>
Date: Mon, 17 Jul 2006 12:05:37 -0700
References: <3bc0efc5.-1@webcrossing.la2eafNXanI>
Lines: 11
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!news4.google.com!news2.volia.net!syros.belnet.be!news.belnet.be!news.stben.net!webcrossing