Skip to main content
Known Participant
June 22, 2022
Answered

Modifying FindChangeByList

  • June 22, 2022
  • 1 reply
  • 2700 views

These days I've been trying to modify the FindChangeByList script, but there's a huge problem. The words that I want to change are in my native language, Farsi, which is a Right-to-left one. Although the FindChangeList text file is in UTF-8 encoding, it doesn't understand the words I've typed. I searched in the community and found someone who managed to do it by chance. and here's the link:
https://community.adobe.com/t5/indesign-discussions/is-built-in-find-change-by-list-script-unicode-compliant/td-p/10361324

I'm attaching the screenshot of my txt file and the result in the Find/change dialog box

This topic has been closed for replies.
Correct answer Manan Joshi

The syntax you used is different from what it is written as a sample in the txt file I shared with you. Besides, I get this error when I use your string: 


Ahh, I used the JS version of the script and you are using the Applescript version and hence the disparity in the findchangelist file. Can you use the string I gave with the jsx version of the script, it did do some changes when I tried.

-Manan

1 reply

Community Expert
June 22, 2022

Hi @SunFlower16,

I don't have a MENA version of InDesign installed but can you share an InDD document and also FindChange text file for me to test

-Manan

-Manan
Known Participant
June 22, 2022

Me neither, dear Manan. I've got a newer version of Indesign, 2021 v16.0.2
Here's the link to my indd and txt file: https://drive.google.com/drive/folders/1HjWTibTBXTHYTKM43R80VFeXIwdDv0PT?usp=sharing

Community Expert
June 22, 2022

Hi @SunFlower16,

There are issues with the property names in your FindChange string. I fixed and it does change something though I can't verify it as I can't read the language. See the following string and notice find what is changed to findWhat etc

grep	{findWhat:"نگاه"}	{changeTo:"نگاه نگاه نگاه"}	{includeFootnotes:true, includeMasterPages:false, includeHiddenLayers:true, wholeWord:false}	Find all double spaces and replace with single spaces.

-Manan

-Manan