Article View: adobe.scripting.indesign
Article #2060Re: [CS3 / VBS] Ungroup Whole Document
From: Robert Tkaczyk
Date: Wed, 07 Jan 2009 17:11
Date: Wed, 07 Jan 2009 17:11
20 lines
1138 bytes
1138 bytes
this is example in JS:
doc = app.activeDocument;
doc.groups.everyItem().ungroup();
from Peter Kahrel post
and this is example in VBScript:
Set myInDi = CreateObject("InDesign.Application")
Set myDoc = myInDi.ActiveDocument
do while myDoc.Groups.Count>0
myDoc.Groups.Item(1).UnGroup
loop
robin
--
www.adobescripts.com
Technical Details
Message-ID:
<1BAB6BEDAD8FA031AD4AFA125842E734@in.webcrossing.la2eafNXanI>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!news.glorb.com!newshub.sdsu.edu!webcrossingReferences:
<59b772dc.-1@webcrossing.la2eafNXanI>Show Full Headers
Complete Article Headers
X-Google-Thread: f939a,fad41ab6e4ec256 X-Google-Attributes: gidf939a,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit From: Robert Tkaczyk <indesignscripts@wp.pl> Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!news.glorb.com!newshub.sdsu.edu!webcrossing Newsgroups: adobe.scripting.indesign Subject: Re: [CS3 / VBS] Ungroup Whole Document Message-ID: <1BAB6BEDAD8FA031AD4AFA125842E734@in.webcrossing.la2eafNXanI> Date: Wed, 7 Jan 2009 09:11:48 -0800 References: <59b772dc.-1@webcrossing.la2eafNXanI> Lines: 20 User-Agent: Thunderbird 2.0.0.19 (Windows/20081209) X-Antivirus: avast! (VPS 090106-1, 2009-01-06), Outbound message X-Antivirus-Status: Clean MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit