Article View: adobe.scripting.indesign
Article #16774Re: How to set fill tint of text?
From: Christopher Drum
Date: Fri, 01 Aug 2003 16:59
Date: Fri, 01 Aug 2003 16:59
16 lines
1524 bytes
1524 bytes
Thanks for the detailed script, Kari! Really appreciate your time on this matter...
I just got an e-mail from Oli Berquin who also suggested an interesting take on it. Basically, set the fill tint and other attributes into a character style...
tell application "InDesign 2.0.2"
set find preferences to nothing
set change preferences to nothing
tell document 1
set theStyle to character style "Character_tint_10"
search for "a" with change attributes �
{applied character style:theStyle}
end tell
end tell
Might one make a temporary character style at the start of the script, then delete out that style in a clean-up routine at the end of the script? Hmmm... I'll have to give it a try....
Christopher
Technical Details
Message-ID:
<1dea1e9a.8@WebX.la2eafNXanI>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-06!sn-xit-09!supernews.com!newshosting.com!news-xfer1.atl.newshosting.com!news2.euro.net!newsfeed.online.be!newsfeed01.sul.t-online.de!t-online.de!WebXReferences:
<1dea1e9a.-1@WebX.la2eafNXanI>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII X-Google-Thread: f939a,a97d14f00f9b8fbe X-Google-Attributes: gidf939a,public X-Google-ArrivalTime: 2003-08-01 10: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-04!sn-xit-06!sn-xit-09!supernews.com!newshosting.com!news-xfer1.atl.newshosting.com!news2.euro.net!newsfeed.online.be!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.8@WebX.la2eafNXanI> Date: Fri, 1 Aug 2003 09:59:57 -0700 References: <1dea1e9a.-1@WebX.la2eafNXanI> Lines: 21 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit