🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #863

JS How to "Close All Style Groups" of Paragraph StyleGroups (CS4)

#863
From: erkki_pennanen
Date: Fri, 27 Feb 2009 03:02
10 lines
927 bytes
Hi,

Does anyone can advice me how to "Close All Style Groups". (The following opens properly the "Group triangle" and sets the default Paragraph Style.)

var myDocument = app.documents.item(0);
myDocument.textDefaults.appliedParagraphStyle = myDocument.paragraphStyleGroups.item("GER").paragraphStyles.item("GER body");

Thanks in advance,

Erkki
Technical Details
Message-ID: <59b8102c.-1@webcrossing.la2eafNXanI>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!newshub.sdsu.edu!webcrossing

Show Full Headers
Complete Article Headers
X-Google-Thread: f939a,e313f9c6d490a982,start
X-Google-Attributes: gidf939a,domainid0,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
From: erkki_pennanen@adobeforums.com
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!newshub.sdsu.edu!webcrossing
Newsgroups: adobe.scripting.indesign
Subject: JS How to "Close All Style Groups" of Paragraph StyleGroups (CS4)
Message-ID: <59b8102c.-1@webcrossing.la2eafNXanI>
Date: Thu, 26 Feb 2009 19:02:28 -0800
Lines: 13
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit