Grep find all text and change to paragraph style

Explorer ,
Aug 12, 2021 Aug 12, 2021

Copy link to clipboard

Copied

Hello

I use the function Find/Change by list and now i'am looking for a way to change all text to ParagraphStyle "plt"

something like this:

text {find:"All"} {appliedCharacterStyle:"plt"} {includeFootnotes:true, includeMasterPages:true, includeHiddenLayers:true, wholeWord:false}

 

Kind regards,

Patrick

TOPICS
Scripting

Views

50

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Adobe Community Professional , Aug 12, 2021 Aug 12, 2021
HI Patrick, If you want to change the paragraph style applied on all the text in the your document then you can use the following string grep {findWhat:".\*"} {appliedParagraphStyle:"plt"} {includeFootnotes:true, includeMasterPages:true, includeHiddenLayers:true, wholeWord:false} This will provided the paragraph style exists and is not present in a group. Also, make sure that the whitespace between fields in the string above is a tab character as required by the Find/Change script -Manan

Likes

Translate

Translate
Adobe Community Professional ,
Aug 12, 2021 Aug 12, 2021

Copy link to clipboard

Copied

LATEST

HI Patrick,

If you want to change the paragraph style applied on all the text in the your document then you can use the following string

grep	{findWhat:".\*"}	{appliedParagraphStyle:"plt"}	{includeFootnotes:true, includeMasterPages:true, includeHiddenLayers:true, wholeWord:false}

This will provided the paragraph style exists and is not present in a group. Also, make sure that the whitespace between fields in the string above is a tab character as required by the Find/Change script

-Manan

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines