Article View: adobe.scripting.indesign
Article #15758Re: Grops in JavaScript
From: Olav_Kvern
Date: Thu, 13 Nov 2003 17:55
Date: Thu, 13 Nov 2003 17:55
14 lines
963 bytes
963 bytes
Ksenia-- It's better to tell the page or spread containing the group to make the group, and you need to supply the parameters to the "add" method directly (rather than using the curly braces). Try: //assuming that the selected items are on spread 1: var myGroup = myDoc.spreads.item(0).groups.add(myDoc.selection); Thanks, Ole
Technical Details
Message-ID:
<2cce5de8.0@webx.la2eafNXanI>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!fu-berlin.de!newsfeed01.sul.t-online.de!t-online.de!webxReferences:
<2cce5de8.-1@webx.la2eafNXanI>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f939a,542450f77787096d X-Google-Attributes: gidf939a,public X-Google-ArrivalTime: 2003-11-13 10:08:08 PST From: Olav_Kvern@adobeforums.com Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!fu-berlin.de!newsfeed01.sul.t-online.de!t-online.de!webx Newsgroups: adobe.scripting.indesign Subject: Re: Grops in JavaScript Message-ID: <2cce5de8.0@webx.la2eafNXanI> Date: Thu, 13 Nov 2003 09:55:54 -0800 References: <2cce5de8.-1@webx.la2eafNXanI> Lines: 12 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit