Article View: adobe.scripting.indesign
Article #18333Re: Find/Change formatting (superscript)
From: Dave Saunders
Date: Mon, 07 Apr 2003 19:51
Date: Mon, 07 Apr 2003 19:51
11 lines
1316 bytes
1316 bytes
Brian, You did post before. Ole's message 3 shows you the right solution. This is one case where you have to think in terms of scripting the UI. In the UI, you have to replace with "" in order to get attribute changes to take, and so you have to do the same with a script. Your script doesn't actually do nothing, but you didn't capture the information generated by the search. I'm not a VBA kind of person, but I suspect that had you written: myFound = priceTextFrame.Search ".^9^9", false, false, Then myFound would have contained the list of hits that your search performed. Dave
Technical Details
Message-ID:
<1de8a1b6.4@WebX.la2eafNXanI>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-03!sn-xit-01!sn-xit-08!supernews.com!news-out.visi.com!petbe.visi.com!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!WebXReferences:
<1de8a1b6.-1@WebX.la2eafNXanI>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f939a,dd8ae197d421246 X-Google-Attributes: gidf939a,public X-Google-ArrivalTime: 2003-04-07 13:08:07 PST From: "Dave Saunders" <daves@pdsassoc.com> Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-03!sn-xit-01!sn-xit-08!supernews.com!news-out.visi.com!petbe.visi.com!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!WebX Newsgroups: adobe.scripting.indesign Subject: Re: Find/Change formatting (superscript) Message-ID: <1de8a1b6.4@WebX.la2eafNXanI> Date: Mon, 7 Apr 2003 12:51:37 -0700 References: <1de8a1b6.-1@WebX.la2eafNXanI> Lines: 17 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit