🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #21024

Re: Search and replace elements with particular character style

#21024
From: Alan Stearns
Date: Sat, 18 May 2002 03:36
7 lines
1444 bytes
Do you need to change the character style from one to another (or apply other formatting overrides), or do you need to do more complex processing (like adding parentheses or changing capitalization)? 

You can do either in a script, but the latter is a little more difficult.  If you're just changing the formatting, then you'll want to look the Application object's FindPreferences and ChangePreferences, and the Search command. 

Let us know the particulars, and I'll try to come up with a code snippet (if Ole doesn't beat me to it). 

Alan
Technical Details
Message-ID: <ef89ad8.0@WebX.aaQKaf7vad4>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-01!supernews.com!207.217.77.43.MISMATCH!newsfeed1.earthlink.net!newsfeed2.earthlink.net!newsfeed.earthlink.net!novia!novia!news.tele.dk!small.news.tele.dk!128.230.129.106!news.maxwell.syr.edu!fr.clara.net!heighliner.fr.clara.net!newsfeed01.sul.t-online.de!t-online.de!WebX
References: <ef89ad8.-1@WebX.aaQKaf7vad4>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f939a,2b4ea2d024f5065d
X-Google-Attributes: gidf939a,public
X-Google-ArrivalTime: 2002-05-17 21:07:34 PST
From: "Alan Stearns" <astearns@adobe.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-01!supernews.com!207.217.77.43.MISMATCH!newsfeed1.earthlink.net!newsfeed2.earthlink.net!newsfeed.earthlink.net!novia!novia!news.tele.dk!small.news.tele.dk!128.230.129.106!news.maxwell.syr.edu!fr.clara.net!heighliner.fr.clara.net!newsfeed01.sul.t-online.de!t-online.de!WebX
Newsgroups: adobe.scripting.indesign
Subject: Re: Search and replace elements with particular character style
Message-ID: <ef89ad8.0@WebX.aaQKaf7vad4>
Date: Fri, 17 May 2002 20:36:39 -0700
References: <ef89ad8.-1@WebX.aaQKaf7vad4>
Lines: 13
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit