* Brett Terpstra brett@circlesixdesign.com [2006-11-07 20:24]:
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?
I've attached yet another version of this. It now uses lbdb if found, else contacts, else osascript. lbdb can also search Mutt alias files, LDAP, and much more. Both lbdb and contacts can handle a full name, if you select it first.
I'm grabbing the path from bash_init.sh, which isn't the fastest method (starting a whole shell just to get a variable)... but it works.