Article View: adobe.scripting.indesign
Article #15137How to ungroup 'inline' groups ?
From: dirk_rijmenants
Date: Fri, 02 Jan 2004 11:32
Date: Fri, 02 Jan 2004 11:32
32 lines
1437 bytes
1437 bytes
InDesign 2.0.2 / Windows / VB
I would like to get rid off all the groups in my document...
I have the following structure:
TextFrame + Textframe
|
+ Group + Rectangle + EPS
|
+ Group + TextFrame
|
+ TextFrame
|
+ TextFrame
Document.groups.count returns 0
If I try to ungroup any group I get: "Invalid Parameter"
Basically my code looks like:
For intPageItem = objDoc.AllPageItems.count to 1 step -1
if typeName (objDoc.AllPageItems.item(intPageItem)) = "Group" then
objDoc.AllPageItems.item(intPageItem).ungroup
end if
next
Is there a way to get rid of these groups ?
Many thanks,
Dirk
Technical Details
Message-ID:
<2ccf2967.-1@webx.la2eafNXanI>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.media.kyoto-u.ac.jp!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,53d4af4f756e9978,start X-Google-Attributes: gidf939a,public X-Google-ArrivalTime: 2004-01-02 03:37:35 PST From: dirk_rijmenants@adobeforums.com Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.media.kyoto-u.ac.jp!newsfeed01.sul.t-online.de!t-online.de!webx Newsgroups: adobe.scripting.indesign Subject: How to ungroup 'inline' groups ? Message-ID: <2ccf2967.-1@webx.la2eafNXanI> Date: Fri, 2 Jan 2004 03:32:46 -0800 Lines: 32 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit