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
stephen@exitwound.org