This content has been marked as final.
Show 5 replies
-
2. Re: How to apply bold character style with grep
hamdifem Nov 25, 2014 2:59 AM (in response to [Jongware])it is not try
app.findGrepPreferences = app.changeGrepPreferences = null;
app.findGrepPreferencesFontStyle = "Bold";
if (app.findGrepPreferences.appliedParagraphStyle == myPar) {
app.changeGrepPreferences.appliedCharacterStyle = myCar1;
app.activeDocument.changeGrep();
}
app.findGrepPreferences = app.changeGrepPreferences = null;
-
3. Re: Re: How to apply bold character style with grep
vandy88 Nov 25, 2014 3:56 AM (in response to hamdifem)Try this,
app.findGrepPreferences = app.changeGrepPreferences = null; app.findGrepPreferences.fontStyle = "Bold"; app.findGrepPreferences.appliedParagraphStyle = "myPar"; app.changeGrepPreferences.appliedCharacterStyle = "myCar1"; app.activeDocument.changeGrep(); app.findGrepPreferences = app.changeGrepPreferences = null;
Vandy
-
4. Re: How to apply bold character style with grep
RobertKyle Nov 25, 2014 11:54 AM (in response to hamdifem)Maybe I'm missing something here, but if you want to apply the character style to all instances of the paragraph style, why not simply edit the paragraph style?
-
5. Re: How to apply bold character style with grep
hamdifem Nov 26, 2014 2:10 AM (in response to RobertKyle)Paragraph style plain but
I made bold to highlight definitions



