Copy link to clipboard
Copied
Hi guys,
I'm trying to batch convert a list of sterling prices to Euro in a catalogue and also codes which need changed from DPGBP to DPEUR. I'm using an openoffice file to generate the batch convert formula: Here are the formula's i'm using through indesign 'Findchangebylist' feature.
DP Codes:
text {findWhat:"DPGBP0"} {changeTo:"DPEUR0"} {includeLockedStoriesForFind:false, includeLockedLayersForFind:false, includeHiddenLayers:false, includeMasterPages:true, includeFootnotes:true, wholeWord:false, caseSensitive:false, kanaSensitive:true, widthSensitive:true, ignoreKashidas:true, ignoreDiacritics:false} |
£-€ codes:
text {findWhat:"£0.00"} {changeTo:"€0.00"} {includeLockedStoriesForFind:false, includeLockedLayersForFind:false, includeHiddenLayers:false, includeMasterPages:true, includeFootnotes:true, wholeWord:false, caseSensitive:false, kanaSensitive:true, widthSensitive:true, ignoreKashidas:true, ignoreDiacritics:false} |
I've tried replacing the spaces before the { with a (TAB){ to get rid of blank space and have also tried removing all blank space from between comma's etc. So far the DP codes are correctly changing and the values respond as expected. However the £-€ code, which looks identical, isn't running correctly and wont change the £ to € values.
I'm getting this error when i run the script:
Really strange and INCREDIBLY frustrating. Any ideas or thoughts....or solutions...would be really appreciated.
Thanks guys,
Steve
Copy link to clipboard
Copied
Hi Steve,
turn on the invisible characters when editing the txt. I am using TextWrangler. Most probably you are missing a tab before the last brackets [TAB HERE] {includeLockedStoriesForFind... (see attachment). I am able to reproduce your error.
Thx Stefan