Article View: adobe.scripting.indesign
Article #16920Ungrouping Items (VB)
From: Brian Boyce
Date: Fri, 18 Jul 2003 17:30
Date: Fri, 18 Jul 2003 17:30
19 lines
1420 bytes
1420 bytes
My goal with this script is to find all grouped page items, ungroup them, and eventually resize select page items and re-group them. But, so far I've had no luck with the first part. Any suggestions? Thanks for the help! Brian My code: Set InDWindow = InD.ActiveWindow Set InDSpread = InDWindow.ActiveSpread Set InDDocument = InD.ActiveDocument Set InDPage = InDDocument.Pages.Item(1) InDWidth = InDDocument.DocumentPreferences.PageWidth ' This begins the looping ungrouping procedure For InDGroupCount = 1 To InDDocument.Groups.Count Set InDG = InDDocument.Groups(InDGroupCount) Set InDUnG = InDDOcument.Group.Ungroup(InDG) * ************** I've changed the ungrouping part many times: this is what I have at the moment.
Technical Details
Message-ID:
<1de9f9e2.-1@WebX.la2eafNXanI>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!newsfeed.news2me.com!newsfeed.freenet.de!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!WebXShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f939a,9fda3091a1e40936,start X-Google-Attributes: gidf939a,public X-Google-ArrivalTime: 2003-07-18 10:37:50 PST From: "Brian Boyce" <promithius@hotmail.com> Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!newsfeed.news2me.com!newsfeed.freenet.de!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!WebX Newsgroups: adobe.scripting.indesign Subject: Ungrouping Items (VB) Message-ID: <1de9f9e2.-1@WebX.la2eafNXanI> Date: Fri, 18 Jul 2003 10:30:52 -0700 Lines: 24 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit