Re: TableSearchServices
Re: TableSearchServices
- Subject: Re: TableSearchServices
- From: Arthur J Knapp <email@hidden>
- Date: Tue, 17 Jul 2001 10:49:26 -0400
>
Date: Mon, 16 Jul 2001 16:05:52 -0400
>
From: Victor Yee <email@hidden>
>
Subject: TableSearchServices (was: RecordTableLib1.0.3.)
>
It might actually be useful now. ;)
>
http://www3.sympatico.ca/victor.yee/applescript/inprogress/TableSearchServices
>
.sit.hqx
Victor, this is extremely nice work! :)
A great deal of design and thought went into this project, and the result
is brilliant. I intend to put these script objects to the test. :)
>
tell TableSearchServices
>
>
_startSearch(addressbookFields, addressbookEntries)
>
>
_findEntriesWhose("lastName", "contains", "smith")
>
>
_andWhose("firstName", "=", "john")
>
>
set x to the contents of _searchResults()
>
>
_endSearch()
It's so darn AppleScript-like. :)
Adding some properties to TableSearchServices might make some of
the more obscure operators clearer:
property is_equal_to : "="
property is_not_equal_to : "/="
property begins_with : "be"
-- etc...
tell TableSearchServices
_andWhose("firstName", begins_with, "john")
When I have some chunk of clear time available, I would like
to try and work with this project, to test and extend it. I
can't wait. :)
Arthur J. Knapp
http://www.stellarvisions.com
mailto:email@hidden
Hey, check out:
http://www.seanet.com/~jonpugh/