* Oliver Taylor oliver@ollieman.net [2006-11-07 01:04]:
Something really interesting would be a way to lookup email addresses in the users' address book, though I have no idea if this is even possible.
That's a good idea. I made a simple version using contacts[1], which doesn't require Address Book to be open. I put it in the Text bundle because it seems applicable everywhere. Typing ctrl-shift-cmd-a (what's the easiest way of typing those key glyphs?) will replace the current selection or word with a name and email address returned by contacts.
TODO:
* pop up a list for multiple matches, instead of just using the first one * use osascript as a backup * wrap name in quotation marks if necessary * don't return error message on failure