Article View: adobe.scripting.indesign
Article #9717Re: Assign Script Label
From: Peter_Kahrel
Date: Fri, 21 Jul 2006 08:34
Date: Fri, 21 Jul 2006 08:34
13 lines
920 bytes
920 bytes
Norbert, You need a double dose of everyitem(): var myDocument = app.activeDocument; myGroupItems=myDocument.groups myGroupItems.everyItem().pageItems.everyItem().label = "Norbert" You could combine all this into one line: app.activeDocument.groups.everyItem().pageItems.everyItem().label = 'Norbert' Peter
Technical Details
Message-ID:
<3bc0f335.15@webcrossing.la2eafNXanI>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!news4.google.com!news.glorb.com!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: Peter_Kahrel@adobeforums.com Newsgroups: adobe.scripting.indesign Subject: Re: Assign Script Label Message-ID: <3bc0f335.15@webcrossing.la2eafNXanI> Date: Fri, 21 Jul 2006 01:34:42 -0700 References: <3bc0f335.-1@webcrossing.la2eafNXanI> Lines: 14 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!news.glorb.com!news.ecp.fr!news.stben.net!webcrossing