🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #20808

Search and replace with Applescript

#20808
From: Olivier Berquin
Date: Thu, 30 May 2002 10:36
20 lines
1058 bytes
Hi fellow scripter, 
 
 I would like to make a 'search and replace' handler.
 I try this, without result:
 --
 set SearchString to "���"
 set ReplaceString to "***"
 
 tell application "InDesign 2.0"
 �tell myDocument
 ��set every text of every story where it is SearchString to ReplaceString
 �end tell
 end tell
 --
 
 Any idea ?
 
 TIA
 
 Olivier.
Technical Details
Message-ID: <ef8d3b5.-1@WebX.aaQKaf7vad4>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!supernews.com!telocity-west!TELOCITY!fr.clara.net!heighliner.fr.clara.net!newsfeed01.sul.t-online.de!t-online.de!WebX

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII
X-Google-Thread: f939a,bd158d6fe2618bdd,start
X-Google-Attributes: gidf939a,public
X-Google-ArrivalTime: 2002-05-30 03:37:41 PST
From: "Olivier Berquin" <ob@microscript.be>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!supernews.com!telocity-west!TELOCITY!fr.clara.net!heighliner.fr.clara.net!newsfeed01.sul.t-online.de!t-online.de!WebX
Newsgroups: adobe.scripting.indesign
Subject: Search and replace with Applescript
Message-ID: <ef8d3b5.-1@WebX.aaQKaf7vad4>
Date: Thu, 30 May 2002 03:36:11 -0700
Lines: 21
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit