Article View: adobe.scripting.indesign
Article #9721Re: Assign Script Label
From: Dave_Saunders
Date: Fri, 21 Jul 2006 11:37
Date: Fri, 21 Jul 2006 11:37
5 lines
1045 bytes
1045 bytes
Note the difference, though, between allPageItems which returns an array of all the page items in the group no matter how nested they might be whereas pageItems.everyItem() access only the first level down of page items in the group. You can't use everyItem() with an array, so if you really want to label allPageItems in a group, you have to use a loop to iterate through the array of references. Dave
Technical Details
Message-ID:
<3bc0f335.16@webcrossing.la2eafNXanI>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!news2.volia.net!news.germany.com!newsfeed.freenet.de!news.albasani.net!news.ecp.fr!news.stben.net!webcrossingReferences:
<3bc0f335.-1@webcrossing.la2eafNXanI>Show Full Headers
Complete Article Headers
X-Google-Thread: f939a,a8b94a7afaa30fc5 X-Google-Attributes: gidf939a,public X-Google-Language: ENGLISH,ASCII-7-bit From: Dave_Saunders@adobeforums.com Newsgroups: adobe.scripting.indesign Subject: Re: Assign Script Label Message-ID: <3bc0f335.16@webcrossing.la2eafNXanI> Date: Fri, 21 Jul 2006 04:37:56 -0700 References: <3bc0f335.-1@webcrossing.la2eafNXanI> Lines: 10 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!news2.volia.net!news.germany.com!newsfeed.freenet.de!news.albasani.net!news.ecp.fr!news.stben.net!webcrossing