Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

change element in ID CS4 stylesheet

New Here ,
Aug 03, 2010 Aug 03, 2010

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.

TOPICS
Scripting
328
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Engaged ,
Aug 03, 2010 Aug 03, 2010
LATEST

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

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines