Article View: adobe.scripting.indesign
Article #1869Re: [CS3 JS] Replace text in a paragraph
From: Rick_Quatro
Date: Wed, 21 Jan 2009 00:08
Date: Wed, 21 Jan 2009 00:08
7 lines
819 bytes
819 bytes
Thanks to Ole and Peter. Yes, I need to maintain the style that is applied to the paragraph. Also, I added this test in case the paragraph is empty already.
if (myParagraph.characters.length > 1) {
...
}
Rick
Technical Details
Message-ID:
<59b790f6.3@webcrossing.la2eafNXanI>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news.glorb.com!newshub.sdsu.edu!webcrossingReferences:
<59b790f6.-1@webcrossing.la2eafNXanI>Show Full Headers
Complete Article Headers
X-Google-Thread: f939a,2061624729c44fdf X-Google-Attributes: gidf939a,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit From: Rick_Quatro@adobeforums.com Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news.glorb.com!newshub.sdsu.edu!webcrossing Newsgroups: adobe.scripting.indesign Subject: Re: [CS3 JS] Replace text in a paragraph Message-ID: <59b790f6.3@webcrossing.la2eafNXanI> Date: Tue, 20 Jan 2009 16:08:04 -0800 References: <59b790f6.-1@webcrossing.la2eafNXanI> Lines: 9 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit