Article View: adobe.scripting.indesign
Article #18441Search and replace text with different paragraph styles
From: Roy Marshall
Date: Tue, 25 Mar 2003 22:41
Date: Tue, 25 Mar 2003 22:41
4 lines
1340 bytes
1340 bytes
I am wanting to script some code in AS to bacically search for a "@" sign within the text, replace with "@^p" and then apply a stlye sheet to that paragraph (line) that contains "@", strip the parapgraph attributes out, and finally delete the "@^p" to bring the text together! It is basically for catalogue work where the work is done at the moment in PM65, but will be moving to ID very soon. I want to be ready! Any help would be good. Roy Marshall
Technical Details
Message-ID:
<1de8743a.-1@WebX.la2eafNXanI>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-09!supernews.com!216.170.153.135.MISMATCH!tdsnet-transit!newspeer.tds.net!out.nntp.be!propagator2-sterling!news-in-sterling.newsfeed.com!newsfeed.icl.net!newsfeed.fjserv.net!proxad.net!news.tele.dk!news.tele.dk!small.news.tele.dk!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,84b62141db21aa59,start X-Google-Attributes: gidf939a,public X-Google-ArrivalTime: 2003-03-25 15:08:05 PST From: "Roy Marshall" <royston_marshall@hotmail.com> Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-09!supernews.com!216.170.153.135.MISMATCH!tdsnet-transit!newspeer.tds.net!out.nntp.be!propagator2-sterling!news-in-sterling.newsfeed.com!newsfeed.icl.net!newsfeed.fjserv.net!proxad.net!news.tele.dk!news.tele.dk!small.news.tele.dk!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!WebX Newsgroups: adobe.scripting.indesign Subject: Search and replace text with different paragraph styles Message-ID: <1de8743a.-1@WebX.la2eafNXanI> Date: Tue, 25 Mar 2003 14:41:54 -0800 Lines: 8 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit