Thread View: adobe.scripting.indesign
3 messages
3 total messages
Started by loic_aigon
Mon, 05 Jan 2009 06:53
FindChangeByList and other GREP misunderstandings
Author: loic_aigon
Date: Mon, 05 Jan 2009 06:53
Date: Mon, 05 Jan 2009 06:53
21 lines
1491 bytes
1491 bytes
Hi, I tried to help someone on a french forum as he was trying to use FindChangeByList.jsx I first told him to simply add lines in the txt file like it was indicated as grep... But he didn't get the result he wanted, then I tried myself and get lost. Because, I wasn't getting any result too. The most bizzare is that sometimes modifications are made but other times neither the UI, nor the script find text where they should. for example : let's say "a" character is not found when there is plenty of it in the text. app.findGrepPreferences.findWhat ="a"; > retuns none; The UI find/change dialog warns for no occurences in the document. I saw Olav advising to download the latest version of the script. I have downloaded a bunch of script "indesign_scripting_guide_scripts". Inside I found findgrep.jsx or findtxt.jsx or even changetext.jsx. But no findchangebylist.jsx. What am I doing wrong ? Regards, Loic
Re: FindChangeByList and other GREP misunderstandings
Author: Peter Kahrel
Date: Mon, 05 Jan 2009 10:18
Date: Mon, 05 Jan 2009 10:18
13 lines
1262 bytes
1262 bytes
Loic, Find/Change, both in the UI and scripted, sometimes gets confused. When this happens, first see if restarting InDesign and ESTK make a difference. If that doesn't help, try deleting InDesign's caches. On Windows (XP) they're here: cs3: c:\documents and settings\[user]\local settings\application data\adobe\indesign\version 5.0\caches cs4: c:\documents and settings\[user]\local settings\application data\adobe\indesign\version 6.0\[Language version]\caches That usually does the trick. If your friend uses CS3, tell them to update to the latest patch, as most of the issues should have been resolved. Peter
Re: FindChangeByList and other GREP misunderstandings
Author: loic_aigon
Date: Mon, 05 Jan 2009 15:22
Date: Mon, 05 Jan 2009 15:22
5 lines
745 bytes
745 bytes
Hi Peter, Thanks for taking time and care to answer. I will try your advice and transmit the info. Thanks a lot. Loic
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads