Thread View: adobe.scripting.indesign
3 messages
3 total messages
Started by bstimpson
Wed, 07 Jan 2009 16:58
[CS3 / VBS] Ungroup Whole Document
Author: bstimpson
Date: Wed, 07 Jan 2009 16:58
Date: Wed, 07 Jan 2009 16:58
6 lines
803 bytes
803 bytes
There may be a script already that does this but I haven't found it yet. Is there a simple line in a script I could have it ungroup everything in a document? It seems like it should be easy enough to do it. Thanks again from a beginner in scripting!
Re: [CS3 / VBS] Ungroup Whole Document
Author: 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
Re: [CS3 / VBS] Ungroup Whole Document
Author: bstimpson
Date: Wed, 07 Jan 2009 17:28
Date: Wed, 07 Jan 2009 17:28
1 lines
672 bytes
672 bytes
Thank you so much! That did exactly what I needed.
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads