FindChangeByList - need help with my FindChangeList.txt file
Hi,
I seem to be having trouble putting together the correct command in FindChangeList for an appropriate find/replace using FindChangeByList on InDesign CC 2018. I'm taking a list of price codes which I need to convert to a different set of codes given to me in a separate spreadsheet, which I've been able to convert into the following (there are actually several thousand replacements so I've just taken the top couple as an example).
text {find what:"DPGBP1323"} {change to:"DPEUR1588"} {include footnotes:true, include master pages:true, include hidden layers:false, whole word:false} Replace DPGBP code with DPEUR code.
text {find what:"DPGBP3598"} {change to:"DPEUR4318"} {include footnotes:true, include master pages:true, include hidden layers:false, whole word:false} Replace DPGBP code with DPEUR code.
text {find what:"DPGBP1295"} {change to:"DPEUR1554"} {include footnotes:true, include master pages:true, include hidden layers:false, whole word:false} Replace DPGBP code with DPEUR code
text {find what:"DPGBP4193"} {change to:"DPEUR5032"} {include footnotes:true, include master pages:true, include hidden layers:false, whole word:false} Replace DPGBP code with DPEUR code
text {find what:"DPGBP2601"} {change to:"DPEUR3121"} {include footnotes:true, include master pages:true, include hidden layers:false, whole word:false} Replace DPGBP code with DPEUR code
text {find what:"DPGBP1225"} {change to:"DPEUR1470"} {include footnotes:true, include master pages:true, include hidden layers:false, whole word:false} Replace DPGBP code with DPEUR code
text {find what:"DPGBP4274"} {change to:"DPEUR5128"} {include footnotes:true, include master pages:true, include hidden layers:false, whole word:false} Replace DPGBP code with DPEUR code
When running this through the AppleScript version of the script, I am given no message but no replacement seems to take place. The Javascript version gives me "Error Number: 25 - Error String: Expected: :" on Line 160 of the actual script file (which I have not edited).
Huge thanks to anyone who can help out!