Hi,
FindChangeByList is what you're after. It's a script bundled with InDesign. You can find it from within InDesign:
Window > Utilities > Scripts > Application > Samples > Applescript > FindChangeByList.applescript
Just underneath is a folder with the support file. It's a text file that you edit to tell the script what to find and what to change it to.
Right click on that folder and reveal in finder. Duplicate the FindChangeList.txt file so you always have an original.
Now you simply alter what's at the very bottom of the file after the double hyphen that follows this wording:
–All InDesign search metacharacters are allowed in the “find what” and “change to” properties.
—
(FROM THIS POINT ON)
If you copy and paste all that text (after that last double hypen) into Excel, you can then chop it apart to create the following:
Column A
text
Column B
Column C
(Blank at the moment because it will contain your find query)
Column D
“}
Column E
{change to:”
Column F
(Blank at the moment because it will contain your change to query)
Column G
“}
Column H
|
{include footnotes:true, include master pages:true, include hidden layers:true, whole word:false}
|
Column I
Changes the code
Now duplicate the first row down 150 times. Paste your list of 150 Find codes into column C. Paste your list of 150 Change codes into column F.
Now copy and paste all 150 rows into the FindChangeList.txt file, replacing the original find/change queries after that double hyphen.
To finish off, find ” (a quote followed by a tab), and replace with a single quote mark ” without any spaces or tabs around it.
Finally search for ” (tab followed by a quote), and replace with a single quote mark ” without any spaces or tabs around it.
Save your text file.
Go to InDesign and double-click FindChangeByList.applescript
In theory, all your codes should now be updated.