• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

FindChangebyList now working with my .txt file??

New Here ,
Jan 11, 2018 Jan 11, 2018

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.

Screen Shot 2018-01-11 at 16.06.21.png

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

TOPICS
Scripting

Views

384

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Engaged ,
Jan 31, 2018 Jan 31, 2018

Copy link to clipboard

Copied

LATEST

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.Bildschirmfoto 2018-01-31 um 10.06.28.png

Thx Stefan

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines