🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #18201

Re: Search and replace in cells [AS]

#18201
From: Olivier Berquin
Date: Tue, 08 Apr 2003 13:26
12 lines
1136 bytes
The only way to do this is:

  set aDot to "."
  set aPeriod to ","
  tell (every cell of it whose contents is not "") of item 1 of selection
    search for aDot replacing with aPeriod
  end tell

with a check before like:
  if myClass is cell then

Olivier.
Technical Details
Message-ID: <1de885ad.6@WebX.la2eafNXanI>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-01!sn-xit-08!supernews.com!38.144.126.75.MISMATCH!feed1.newsreader.com!newsreader.com!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!lnewspeer01.lnd.ops.eu.uu.net!emea.uu.net!newsfeed01.sul.t-online.de!t-online.de!WebX
References: <1de885ad.-1@WebX.la2eafNXanI>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f939a,a15de8806575209f
X-Google-Attributes: gidf939a,public
X-Google-ArrivalTime: 2003-04-08 06:37:55 PST
From: "Olivier Berquin" <olb@microscript.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-01!sn-xit-08!supernews.com!38.144.126.75.MISMATCH!feed1.newsreader.com!newsreader.com!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!lnewspeer01.lnd.ops.eu.uu.net!emea.uu.net!newsfeed01.sul.t-online.de!t-online.de!WebX
Newsgroups: adobe.scripting.indesign
Subject: Re: Search and replace in cells [AS]
Message-ID: <1de885ad.6@WebX.la2eafNXanI>
Date: Tue, 8 Apr 2003 06:26:19 -0700
References: <1de885ad.-1@WebX.la2eafNXanI>
Lines: 13
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit