🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #2122

FindChangeByList and other GREP misunderstandings

#2122
From: loic_aigon
Date: Mon, 05 Jan 2009 06:53
21 lines
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
Technical Details
Message-ID: <59b76d31.-1@webcrossing.la2eafNXanI>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!newshub.sdsu.edu!webcrossing

Show Full Headers
Complete Article Headers
X-Google-Thread: f939a,22fddc7646cb2718,start
X-Google-Attributes: gidf939a,domainid0,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
From: loic_aigon <loic_aigon@yahoo.fr>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!newshub.sdsu.edu!webcrossing
Newsgroups: adobe.scripting.indesign
Subject: FindChangeByList and other GREP misunderstandings
Message-ID: <59b76d31.-1@webcrossing.la2eafNXanI>
Date: Sun, 4 Jan 2009 22:53:39 -0800
Lines: 28
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit