Pages

Wednesday, October 30, 2019

Script to Replace Existing Paragraph Styles With New Style - InDesignSecrets - InDesignSecrets

Hi All,

I am working to replace all of our existing paragraph styles with new paragraph styles. The only change is changing Arial font to Roboto (thanks Google). Is there a way to do this en masse via script instead of one at a time? I found this and it looks like something that would work but I can’t get it to.

var old1 = app.activeDocument.paragraphStyles.itemByName(“Model Number”);
var new1 = app.activeDocument.paragraphStyles.itemByName(“Roboto Model Number”);
old1.remove(new1);

Even a script to just change the font in the existing paragraph styles would work. My script skills are pretty non-existent. Any help would be appreciated.

Thank you!

  • This topic was modified 2 hours, 53 minutes ago by  Art Hoffman.

Let's block ads! (Why?)



"style" - Google News
October 30, 2019 at 08:26PM
https://ift.tt/2PrSzmG

Script to Replace Existing Paragraph Styles With New Style - InDesignSecrets - InDesignSecrets
"style" - Google News
https://ift.tt/2Mvyfz3
Shoes Man Tutorial
Pos News Update
Meme Update
Korean Entertainment News
Japan News Update

No comments:

Post a Comment