Article View: adobe.scripting.indesign
Article #21064Re: Find/Change by list
From: John Jordan
Date: Mon, 13 May 2002 23:45
Date: Mon, 13 May 2002 23:45
17 lines
1632 bytes
1632 bytes
Ole, Thanks a million! I got it working! (well sort of, see below.) I would NEVER have been able to do it without the sample you provided here. Now, I have one small problem left. A lot of the test questions have the following for answers (C) and (D) -- Both A and B Neither A nor B I got it all working, including the "B" in the above, but I can't figure out how to do the "A" -- if I tell it to do it on "[space]A[space]" it will also do it on a lot of sentences that start with "A." I'm thinking that I will need another loop that searches for "Both A" and "Neither A" and then changes just the rightmost character of each string. Am I thinking this through correctly? Has anyone told you what a gold mine you are? Oh, and I haven't figured out how to get the script into the InDesign palette yet. I'm running it from Visual Basic window. But I'll deal with that after I figure out this last issue.
Technical Details
Message-ID:
<ef87fb9.0@WebX.aaQKaf7vad4>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-01!supernews.com!newsfeed.gamma.ru!Gamma.RU!newsfeed.media.kyoto-u.ac.jp!newsfeed01.sul.t-online.de!t-online.de!WebXReferences:
<ef87fb9.-1@WebX.aaQKaf7vad4>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f939a,436d612f4d917081 X-Google-Attributes: gidf939a,public X-Google-ArrivalTime: 2002-05-13 17:07:37 PST From: "John Jordan" <jcj@spiretech.com> Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-01!supernews.com!newsfeed.gamma.ru!Gamma.RU!newsfeed.media.kyoto-u.ac.jp!newsfeed01.sul.t-online.de!t-online.de!WebX Newsgroups: adobe.scripting.indesign Subject: Re: Find/Change by list Message-ID: <ef87fb9.0@WebX.aaQKaf7vad4> Date: Mon, 13 May 2002 16:45:23 -0700 References: <ef87fb9.-1@WebX.aaQKaf7vad4> Lines: 26 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit