Find Paragraph Style and apply ChangecaseMode.titlecase
looking way apply changecasemode.titlecase text specific paragraph style (pstyle).
finding paragraph easy
app.findtextpreferences.appliedparagraphstyle= pstyle
applying changecasemode.titlecase bit trickier.
thanks in advance.
something should work:
myselection.changecase(changecasemode.titlecase);
so cycle through array of found instances, , changecase() on
each element.
ariel
More discussions in InDesign Scripting
adobe
Comments
Post a Comment