🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #20809

Re: Search and replace with Applescript

#20809
From: Shane Stanley
Date: Thu, 30 May 2002 11:45
14 lines
1106 bytes
Olivier,

Try this:

tell application "InDesign 2.0.1"
 set find preferences to nothing
 set change preferences to nothing
 tell document 1
  search for SearchString replacing with replaceString
 end tell
end tell

-- 
Shane Stanley,  sstanley@myriad-com.com.au
Technical Details
Message-ID: <B91C4DE4.3190E%sstanley@myriad-com.com.au>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news1.google.com!sn-xit-02!supernews.com!peer.news.opaltelecom.net!newsfeed.wirehub.nl!newsfeed.freenet.de!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!WebX
References: <ef8d3b5.-1@WebX.aaQKaf7vad4>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f939a,bd158d6fe2618bdd
X-Google-Attributes: gidf939a,public
X-Google-ArrivalTime: 2002-05-30 05:25:57 PST
From: Shane Stanley <sstanley@myriad-com.com.au>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news1.google.com!sn-xit-02!supernews.com!peer.news.opaltelecom.net!newsfeed.wirehub.nl!newsfeed.freenet.de!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!WebX
Newsgroups: adobe.scripting.indesign
Subject: Re: Search and replace with Applescript
Message-ID: <B91C4DE4.3190E%sstanley@myriad-com.com.au>
Date: Thu, 30 May 2002 04:45:09 -0700
References: <ef8d3b5.-1@WebX.aaQKaf7vad4>
Lines: 15
User-Agent: Microsoft-Outlook-Express-Macintosh-Edition/5.0.3
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit