Copy link to clipboard
Copied
To just list an example here, when I try to run this query, the find/change targets every paragraph style in the document, in spite of me trying to target one particular style.
Copy link to clipboard
Copied
Seems to be working fine for me, see this screengrab
-Manan
Copy link to clipboard
Copied
Thank you for trying to help, but it just doesnt work for me. So I guess since its not replicable, its almost impossible to find the cause.
Copy link to clipboard
Copied
Send across the findchangelist.txt and the indd file. I can test using them and see if I can reproduce the issue
-Manan
Copy link to clipboard
Copied
I figured it out. The solution doesnt make sense to me, but it works.
So what I did was moving the paragraph style in question out of a group. When its not in a group, the script only targets the style its supposed to. Guess you just cant use groups with this script.
While I got you, do you know if there is there some simple line of code I can modify, so that the script targets all open documents (similiar to "all documents" in find/change) instead of just the one I am already in?
Copy link to clipboard
Copied
For using the styles inside groups see the following discussion, where I have provided a solution for this case.
-Manan
Copy link to clipboard
Copied
For making changes in all the open documents, try this edited version of the script.
-Manan