I have a large number files I need to add an italic chaarcter style into and then apply that to all italics. Does anyone already have a script built that will do this that they don't mind sharing? Or can someone show my just how to add the new charcter style and set the properties up for it in a script?
var doc = app.activeDocument;
var a = doc.characterStyles.add();
a.fontStyle = "Italic";
a.name = "StyleName"; //You can set properties here...
And apply for what items u want using findText();
Hope this helps...
Message was edited by: Velprakash
This is exactly what I was looking for. Thanks for the help.