Skip to main content
Participant
October 18, 2016
Question

Paragraph styles script

  • October 18, 2016
  • 1 reply
  • 526 views

Hi I was wondering if anyone could help me? I am looking for a script that would make several paragraph styles changes in one script. The following things i need to change are -

Ligatures - OFF

Contextual Alternatives - OFF

Paragraph Styles set to 'single line paragraph'.

I also need to choose a specific colour, in this case 'Text Black' and set the overprint to - ON

Many thanks

This topic has been closed for replies.

1 reply

tpk1982
Legend
October 18, 2016

For

Ligatures - OFF

Contextual Alternatives - OFF

Paragraph Styles set to 'single line paragraph'.

use this

var myDoc = app.activeDocument;

myParagraphs = myDoc.paragraphStyles;

for(var i=1; i<myParagraphs.length; i++)

{

  myParagraphs.ligatures = false;

  myParagraphs.otfContextualAlternate=false;

  myParagraphs.composer = "Adobe Single-line Composer"

}

alert ("Process Completed!!! Plz Check");

Participant
October 27, 2016

Really sorry, I've only just seen this. Looks like its working. Thank you!!!

tpk1982
Legend
October 31, 2016

If it works, please mark as correct answer