Skip to main content
John_J_David
Participating Frequently
August 3, 2010
Question

change element in ID CS4 stylesheet

  • August 3, 2010
  • 1 reply
  • 333 views

We have received an ID CS4 document, which has "Adobe Single-Line Composer" instead of "Adobe Paragraph Composer". We need to change the same globally through the script on the active document. Kindly help me to do it successfully.

This topic has been closed for replies.

1 reply

Inspiring
August 3, 2010

Hi,

Here is code for you

var myDoc = app.activeDocument;
myStyles=myDoc.paragraphStyles;
for (a=1;a<myStyles.length;a++)
{
     myStyles.composer = "Adobe Paragraph Composer";
}

Shonky