Question
Avoid to apply character style
Hi,
I have these lines that applied the style "bold" to my words:
var myDocument = app.activeDocument;
var myStyle = myDocument.characterStyles.itemByName("bold");
myDocument.pages[0].textFrames[0].paragraphs.everyItem().applyCharacterStyle(myStyle, false);
But how to avoid and not apply in words that already have other style applied?
I think this is so easy, but I'm a novice.
