[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Tab search in AW3.1?
- Subject: Re: Tab search in AW3.1?
- From: dcrutch@iglou.iglou.com (Dan Crutcher)
- Date: Sat, 30 Apr 1994 20:01:23 GMT
- Newsgroups: comp.sys.apple2
- Organization: The Internet Gateway of Louisville, KY
- References: <2pkbcr$njk@vixen.cso.uiuc.edu>
- Sender: news@iglou.com (news)
>I'm using AppleWorks 3.1, UltraMacros 3.1, Companion Plus, SuperPatch 8.0,
>etc. I want to search for a TAB. I can't seem to find a way how. Like
>the UltraMacro solidapple-RETURN to find the next <RETURN>, there MUST be
>a way. Help?
I _think_ there is a TimeOut (SuperFind?) that will find tabs and other
control characters.
You can also do it with Ultramacros, but it's a little more involved.
Essentially you have to read every character with <x = peek #curschar> and
determine if it's a tab or not. Works best if you change the tab marker
to something unique using AW Companion (maybe SuperPatch too). Don't
forget that #curschar returns high-ascii, so I think you have to subtract
128 to get your true ASCII character. Or something like that (just be
aware that #curschar doesn't work like <read> and that you might have to
do some adjustment).