searching address book (was Re: [TxMt] create email from document)

Brett Terpstra brett at circlesixdesign.com
Tue Nov 7 21:49:51 UTC 2006


This still requires contacts, but cleans up the process and adds a  
menu...

-------------- next part --------------
A non-text attachment was scrubbed...
Name: Find Email Address in Address Book +.tmCommand
Type: application/octet-stream
Size: 1481 bytes
Desc: not available
URL: <http://lists.macromates.com/textmate/attachments/20061107/8d9d1313/attachment.tmCommand>
-------------- next part --------------

Brett

On Nov 7, 2006, at 2:02 PM, Grant Hollingworth wrote:

> * Oliver Taylor <oliver at 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
>
> [1] http://gnufoo.org/contacts/
> <Find Email Address in Address Book.tmCommand>
>
> ______________________________________________________________________
> 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



More information about the textmate mailing list