searching address book (was Re: [TxMt] create email from document)
Brett Terpstra
brett at circlesixdesign.com
Wed Nov 8 03:24:47 UTC 2006
It's not currently set up to match a full name, just a first, last,
or partial. I could change the algorithm to do a full match, but it
wasn't intuitive to the way I was thinking this would be used. What
were your thoughts?
Brett
On Nov 7, 2006, at 8:53 PM, Stephen Hargrove wrote:
> On Nov 7, 2006, at 8:45 PM, Brett Terpstra wrote:
>
>> And I've attached an osascript version that's not dependent on
>> contacts. I think it might be the better way to go... albeit more
>> code. Thoughts? I left the original code in place so that it
>> could easily be forked, but the applescript turned out to be very
>> effective, IMO.
>
> Here's my results:
>
> FirstName LastName - no matches found
> LastName FirstName - no matches found
> LastName, FirstName - LastName FirstName <email at here.com>, FirstName
>
> I haven't had time to review the code yet for potential corrections.
>
> --
> Steve
> stephen at exitwound.org
>
>
>
> ______________________________________________________________________
> For new threads USE THIS: textmate at lists.macromates.com
> (threading gets destroyed and the universe will collapse if you don't)
> http://lists.macromates.com/mailman/listinfo/textmate
Brett Terpstra : Art Director
Circle Six Design, Inc.
111 Riverfront Dr, Suite 204
..................................................
p: 507.459.4398
877.858.4332
f: 1.866.540.3063
e: brett at circlesixdesign.com
http://www.circlesixdesign.com
..................................................
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macromates.com/textmate/attachments/20061107/610bf4bb/attachment.html>
More information about the textmate
mailing list