Article View: adobe.scripting.indesign
Article #16826Re: How to set fill tint of text?
From: Christopher Drum
Date: Wed, 30 Jul 2003 21:46
Date: Wed, 30 Jul 2003 21:46
9 lines
1504 bytes
1504 bytes
Dave,
search for findText with change attributes {position:replacePosition, fill tint:replaceTint, fill color:replaceColor, applied font:replaceFont}
This does a find AND replace in one line. I could elaborate on it and set the specific "find attributes", but it doesn't seem to be necessary when the sole find attribute is a string. This is a super handy statement, picked up from
<http://olivier.berquin.free.fr/indesign/search_indy.html#top_change_every_y_to_red>
Like I said, everything works right about this script except for the fill tint. I'll give it a shot doing it a different way... maybe I'm grasping at something that InDesign scripting just doesn't allow? Thought it would return an error message though.
Technical Details
Message-ID:
<1dea1e9a.3@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!news.tele.dk!news.tele.dk!small.news.tele.dk!lnewspeer01.lnd.ops.eu.uu.net!emea.uu.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: "Christopher Drum" <christopher.drum@fds.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!news.tele.dk!news.tele.dk!small.news.tele.dk!lnewspeer01.lnd.ops.eu.uu.net!emea.uu.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.3@WebX.la2eafNXanI> Date: Wed, 30 Jul 2003 14:46:37 -0700 References: <1dea1e9a.-1@WebX.la2eafNXanI> Lines: 18 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit