Article View: adobe.scripting.indesign
Article #17483Re: funny search
From: Dave Saunders
Date: Fri, 06 Jun 2003 02:13
Date: Fri, 06 Jun 2003 02:13
14 lines
1468 bytes
1468 bytes
Shane, Actually, you're wrong (gasp!) about return and tab. They can be used on the Find side of a scripted search. They can't be used in the UI because they drive the UI and so don't end up in the Find box if you try to type them (although I believe you can paste them... Ah, it does a "smart" paste and converts them to the code). Perhaps that happens behind the scenes if you use these characters in a search, like this: tell application "InDesign 2.0.2" set myFindText to tab as string set find preferences to nothing set myStory to parent story of selection search myStory for myFindText end tell Dave
Technical Details
Message-ID:
<1de960ed.21@WebX.la2eafNXanI>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-01!sn-xit-09!supernews.com!newshosting.com!news-xfer2.atl.newshosting.com!206.252.192.28.MISMATCH!news.stealth.net news.stealth.net!news.stealth.net!news.tele.dk!news.tele.dk!small.news.tele.dk!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!WebXReferences:
<1de960ed.-1@WebX.la2eafNXanI>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f939a,94d443c28e570306 X-Google-Attributes: gidf939a,public X-Google-ArrivalTime: 2003-06-05 19:38:01 PST From: "Dave Saunders" <daves@pdsassoc.com> Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-01!sn-xit-09!supernews.com!newshosting.com!news-xfer2.atl.newshosting.com!206.252.192.28.MISMATCH!news.stealth.net news.stealth.net!news.stealth.net!news.tele.dk!news.tele.dk!small.news.tele.dk!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!WebX Newsgroups: adobe.scripting.indesign Subject: Re: funny search Message-ID: <1de960ed.21@WebX.la2eafNXanI> Date: Thu, 5 Jun 2003 19:13:15 -0700 References: <1de960ed.-1@WebX.la2eafNXanI> Lines: 19 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit