🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #8618

Re: HELP!! How to group two objects?

#8618
From: Miha Kos
Date: Sun, 01 Oct 2006 05:18
15 lines
1475 bytes
Thanks Dirk,

Miha

<Dirk_Becker@adobeforums.com> wrote in message 
news:3bc1c190.8@webcrossing.la2eafNXanI...
>p = app.activeDocument.pages[0];
> m = p.graphicLines.length;
> n = m-4;
> g = p.groups.add(p.graphicLines.itemByRange(1,n));
>
> Note that indexing in JavaScript starts at 0, so you also omit the first.
>
> Hth,
> Dirk 
Technical Details
Message-ID: <ZcITg.5069$oj5.2008148@news.siol.net>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!news1.google.com!news.germany.com!newsfeed.freenet.de!newsfeed1.eu.ignite.net!news-hub.siol.net!news.siol.net!not-for-mail
References: <3bc1c190.-1@webcrossing.la2eafNXanI> <3bc1c190.8@webcrossing.la2eafNXanI>

Show Full Headers
Complete Article Headers
X-Google-Thread: f939a,aa12b9332cb82d57
X-Google-Attributes: gidf939a,public
X-Google-Language: ENGLISH,ASCII-7-bit
Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!news1.google.com!news.germany.com!newsfeed.freenet.de!newsfeed1.eu.ignite.net!news-hub.siol.net!news.siol.net!not-for-mail
From: "Miha Kos" <miha.kos@h-e.si>
Newsgroups: adobe.scripting.indesign
References: <3bc1c190.-1@webcrossing.la2eafNXanI> <3bc1c190.8@webcrossing.la2eafNXanI>
Subject: Re: HELP!! How to group two objects?
Lines: 17
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2869
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2962
X-RFC2646: Format=Flowed; Original
X-Antivirus: avast! (VPS 0639-4, 29.09.2006), Outbound message
X-Antivirus-Status: Clean
Message-ID: <ZcITg.5069$oj5.2008148@news.siol.net>
Date: Sun, 1 Oct 2006 07:18:39 +0200
NNTP-Posting-Host: 193.77.159.172
X-Complaints-To: abuse@siol.net
X-Trace: news.siol.net 1159679929 193.77.159.172 (Sun, 01 Oct 2006 07:18:49 MET DST)
NNTP-Posting-Date: Sun, 01 Oct 2006 07:18:49 MET DST
Organization: Slovenija OnLine - SiOL