Article View: adobe.scripting.indesign
Article #18479Search and replace in cells [AS]
From: Olivier Berquin
Date: Sun, 30 Mar 2003 20:53
Date: Sun, 30 Mar 2003 20:53
27 lines
1289 bytes
1289 bytes
Hi, I would like to make a search and replace in some cells. When I select some cells and try this script, the only first cell has change. Why ? set theSearchString to "," set theReplaceString to "." tell application "InDesign 2.0.1" activate set find preferences to nothing set change preferences to nothing set myText to item 1 of selection tell myText search for theSearchString replacing with theReplaceString end tell set find preferences to nothing set change preferences to nothing end tell TIA Olivier.
Technical Details
Message-ID:
<1de885ad.-1@WebX.la2eafNXanI>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-01!sn-xit-08!supernews.com!newsfeed.news2me.com!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.freenet.de!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!WebXShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f939a,a15de8806575209f,start X-Google-Attributes: gidf939a,public X-Google-ArrivalTime: 2003-03-30 13:08:05 PST From: "Olivier Berquin" <olb@microscript.com> Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-01!sn-xit-08!supernews.com!newsfeed.news2me.com!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.freenet.de!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!WebX Newsgroups: adobe.scripting.indesign Subject: Search and replace in cells [AS] Message-ID: <1de885ad.-1@WebX.la2eafNXanI> Date: Sun, 30 Mar 2003 12:53:50 -0800 Lines: 28 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit