Article View: adobe.scripting.indesign
Article #18600Re: Searching for text below a specific size
From: Dave Saunders
Date: Wed, 05 Mar 2003 22:49
Date: Wed, 05 Mar 2003 22:49
14 lines
1162 bytes
1162 bytes
John,
You can't do that with a simple search. What you must do is search for all instances of Courier and then cycle through the list of foundText checking the point size, thus:
set foundText to search document 1 with find attributes {font: "Courier"}
repeat with aText in foundText
if point size of aText < 9 then
-- deal with it
end
end
Or something like that.
Dave
Technical Details
Message-ID:
<1de82916.0@WebX.la2eafNXanI>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!easynet-quince!easynet.net!oleane.net!oleane!bnewspeer00.bru.ops.eu.uu.net!emea.uu.net!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!WebXReferences:
<1de82916.-1@WebX.la2eafNXanI>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f939a,179c70e89ed74b5b X-Google-Attributes: gidf939a,public X-Google-ArrivalTime: 2003-03-05 15:07:41 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-08!supernews.com!easynet-quince!easynet.net!oleane.net!oleane!bnewspeer00.bru.ops.eu.uu.net!emea.uu.net!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!WebX Newsgroups: adobe.scripting.indesign Subject: Re: Searching for text below a specific size Message-ID: <1de82916.0@WebX.la2eafNXanI> Date: Wed, 5 Mar 2003 14:49:00 -0800 References: <1de82916.-1@WebX.la2eafNXanI> Lines: 17 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit