<HTML><BODY style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; ">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?<DIV><BR class="khtml-block-placeholder"></DIV><DIV>Brett</DIV><DIV><BR><DIV><DIV>On Nov 7, 2006, at 8:53 PM, Stephen Hargrove wrote:</DIV><BR class="Apple-interchange-newline"><BLOCKQUOTE type="cite"><DIV><DIV>On Nov 7, 2006, at 8:45 PM, Brett Terpstra wrote:</DIV><BR class="Apple-interchange-newline"><BLOCKQUOTE type="cite"><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">And I've attached an osascript version that's not dependent on contacts.<SPAN class="Apple-converted-space">  </SPAN>I think it might be the better way to go... albeit more code.<SPAN class="Apple-converted-space">  </SPAN>Thoughts?<SPAN class="Apple-converted-space">  </SPAN>I left the original code in place so that it could easily be forked, but the applescript turned out to be very effective, IMO.</DIV></BLOCKQUOTE><DIV><BR class="khtml-block-placeholder"></DIV><DIV>Here's my results:</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>FirstName LastName - no matches found</DIV><DIV>LastName FirstName - no matches found</DIV><DIV>LastName, FirstName - LastName FirstName <<A href="mailto:email@here.com">email@here.com</A>>, FirstName</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>I haven't had time to review the code yet for potential corrections.</DIV></DIV><BR><DIV> <SPAN class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><DIV>--</DIV><DIV>Steve</DIV><DIV><A href="mailto:stephen@exitwound.org">stephen@exitwound.org</A></DIV><BR class="Apple-interchange-newline"></SPAN> </DIV><BR><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">______________________________________________________________________</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">For new threads USE THIS: <A href="mailto:textmate@lists.macromates.com">textmate@lists.macromates.com</A></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">(threading gets destroyed and the universe will collapse if you don't)</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><A href="http://lists.macromates.com/mailman/listinfo/textmate">http://lists.macromates.com/mailman/listinfo/textmate</A></DIV> </BLOCKQUOTE></DIV><BR><DIV> <SPAN class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><DIV>Brett Terpstra : Art Director</DIV><DIV>Circle Six Design, Inc.</DIV><DIV>111 Riverfront Dr, Suite 204</DIV><DIV>..................................................</DIV><DIV>p: 507.459.4398</DIV><DIV>    877.858.4332</DIV><DIV>f: 1.866.540.3063</DIV><DIV>e: <A href="mailto:brett@circlesixdesign.com">brett@circlesixdesign.com</A></DIV><DIV><A href="http://www.circlesixdesign.com">http://www.circlesixdesign.com</A></DIV><DIV>..................................................</DIV><BR class="Apple-interchange-newline"></SPAN> </DIV><BR></DIV></BODY></HTML>