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@here.com>, FirstName

I haven't had time to review the code yet for potential corrections.

--
Steve



______________________________________________________________________
For new threads USE THIS: textmate@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@circlesixdesign.com
http://www.circlesixdesign.com
..................................................