🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: adobe.scripting.indesign
1 messages
1 total messages Started by erkki_pennanen Fri, 27 Feb 2009 03:02
JS How to "Close All Style Groups" of Paragraph StyleGroups (CS4)
#863
Author: 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
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