MacOS Sonoma 14.5
Macbook Pro M1
Office 365 (Institutional) (.docx not required)
I have about 50 documents that require swapping names within the document for ID codes. The documents are 30-40 pages each, and have ~15 instances of name swapping each. All names correlate with an ID. So for example:
name: Mary Poppins becomes: P123456
name: Donald Duck becomes: P590834
Luckily, none of the names coincide - there is only one Mary, and one Donald, and so forth. This means I Should be able to Find+Replace across multiple documents to accomplish the task.
The documents are currently .docx but I can easily convert them to .txt and back if need be. All files are in the same folder.
I have seen several fixes, but they tend to be outdated or intended for Windows, such as:
I suspect I can do this with Automator, but my tests so far have accomplished nothing.