1

Simple question:

What is the Javascript syntax for adding a Paragraph or Character Style to a search in the FindChangeByList.txt file?

As in: grep {findWhat:"Anything", findStyle"Bolder"}

Thank you.

1
grep    {findWhat:"Something", appliedCharacterStyle:"Bolder", appliedParagraphStyle:"body"}    {changeTo:"SomethingElse", appliedCharacterStyle:"italic", appliedParagraphStyle:"header"}  {includeFootnotes:true, includeMasterPages:true, includeHiddenLayers:true, wholeWord:false} 

Mind the spaces before the appliedCharacterStyle or appliedParagraphStyle properties.

1
  • 1
    Perfect. I was hoping it was this easy - but apparently when I tried it first, there must have been a typo. Probably the space. Thank you! Feb 15 '19 at 8:16

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.