Article View: adobe.scripting.indesign
Article #16827Re: How to set fill tint of text?
From: Dave Saunders
Date: Wed, 30 Jul 2003 22:00
Date: Wed, 30 Jul 2003 22:00
15 lines
1274 bytes
1274 bytes
In that case, the problem must be a bug. When a find/replace fails done this way, the only recourse is to use a search to gather references to all the text items and then use a loop to apply the desired formatting to the found results: set myFinds to search for findText repeat with myFound in myFinds set position of myFound to replacePosition set fill color of myFound to replaceColor set fill tint of myFound to replaceTint set applied font of myFound to replaceFont end repeat It's slower but it works (I hope). Dave
Technical Details
Message-ID:
<1dea1e9a.4@WebX.la2eafNXanI>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-05!sn-xit-08!supernews.com!newsfeed.news2me.com!newsfeed.freenet.de!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!WebXReferences:
<1dea1e9a.-1@WebX.la2eafNXanI>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f939a,a97d14f00f9b8fbe X-Google-Attributes: gidf939a,public X-Google-ArrivalTime: 2003-07-30 15:07:59 PST From: "Dave Saunders" <daves@pdsassoc.com> Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-05!sn-xit-08!supernews.com!newsfeed.news2me.com!newsfeed.freenet.de!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!WebX Newsgroups: adobe.scripting.indesign Subject: Re: How to set fill tint of text? Message-ID: <1dea1e9a.4@WebX.la2eafNXanI> Date: Wed, 30 Jul 2003 15:00:12 -0700 References: <1dea1e9a.-1@WebX.la2eafNXanI> Lines: 17 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit