How to apply multiple GREP query at once.

Explorer ,
Mar 06, 2022 Mar 06, 2022

Copy link to clipboard

Copied

Hi

 

I'm working on a book and there are some repeating problems in the text that I managed to solve by applying a sequence of 4 GREPs which I saved to GREP query, the thing is I can't apply them to the whole text because they'll cause other problems, so I have to do it manually, I wonder if I can do them with one shortcut using a script instead of doing those 4 GREPs one by one for each problem.

Note: some of the GREPs uses change format to a certain style.

TOPICS
Feature request , How to , Scripting

Views

92

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 , Mar 07, 2022 Mar 07, 2022
This script by Peter Kahrel might be easier to use: https://creativepro.com/files/kahrel/indesign/grep_query_runner.html

Likes

Translate

Translate
Adobe Community Professional ,
Mar 06, 2022 Mar 06, 2022

Copy link to clipboard

Copied

Look at FindChangeByList.jsx script which is shipped along with InDesign. Using this you can store your queries in the corresponding txt file and then the script applies it one by one. You can also control as to which object do you want the queries to execute, its i think at document, selection and story level.

-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
Adobe Community Professional ,
Mar 07, 2022 Mar 07, 2022

Copy link to clipboard

Copied

LATEST

This script by Peter Kahrel might be easier to use:

https://creativepro.com/files/kahrel/indesign/grep_query_runner.html

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