Article View: adobe.scripting.indesign
Article #122Re: how to group some objects and duplicate it and then enlarge the same group using javascript ??
From: Peter Kahrel
Date: Thu, 02 Apr 2009 14:05
Date: Thu, 02 Apr 2009 14:05
6 lines
1026 bytes
1026 bytes
It's the same in CS3 and CS4: feed an array to groups.add(). Suppose you have a page with several (ungrouped) items. Then these two lines create a group of all page items on that page: myArray = myPage.pageItems.everyItem().getElements(); myPage.groups.add (myArray) Peter
Technical Details
Message-ID:
<59b87303.16@webcrossing.la2eafNXanI>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!npeer02.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!newshub.sdsu.edu!webcrossingReferences:
<59b87303.-1@webcrossing.la2eafNXanI>Show Full Headers
Complete Article Headers
X-Google-Thread: f939a,8506c72425d12370 X-Google-Attributes: gidf939a,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit From: "Peter Kahrel" <kahrel@kahrel.plus.com> Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!npeer02.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!newshub.sdsu.edu!webcrossing Newsgroups: adobe.scripting.indesign Subject: Re: how to group some objects and duplicate it and then enlarge the same group using javascript ?? Message-ID: <59b87303.16@webcrossing.la2eafNXanI> Date: Thu, 2 Apr 2009 07:05:14 -0700 References: <59b87303.-1@webcrossing.la2eafNXanI> Lines: 8 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit