Select text based on character style or paragraph style
Hi Everyone !
i wrote this script with mr.[Jongware]'s Help:
app.selection[0].appliedCharacterStyle = "R";
app.selection[0].insertionPoints[-1].appliedCharacterStyle = "Q";
app.selection[0].insertionPoints[-1].contents = ' (';
app.selection[0].insertionPoints[0].appliedCharacterStyle = "Q";
app.selection[0].insertionPoints[0].contents = ') ';
this is for a selected text,
Now i need to select all texts with a specific character style then execute this script. to apply changes all at once.
thank you very much.