On 10/6/05 10:45 AM, "henryn" <[EMAIL PROTECTED]> wrote:
Wow, yes, that did what I needed, even eliminated most duplicates. (I found a few apparently identical entries, which should not have happened, but I'm not complaining.)Could the display name be recorded slightly differently?
To ensure that only one email goes to a any email address (i.e. remove all duplications), replace:
if {nameAddress} is not in entryAddresses then
make new group entry at theGroup with properties {content:nameAddress}
set end of entryAddresses to nameAddress
end if
with this:
if {eAddress} is not in entryAddresses then
make new group entry at theGroup with properties {content:nameAddress}
set end of entryAddresses to eAddress
end if
As long as you don't have two different family members (e.g.) who use the same email address and for whom you'd actually want separate messages, this will do what you'd like.
--
Paul Berkowitz
MVP MacOffice
Entourage FAQ Page: <http://www.entourage.mvps.org/faq/index.html>
AppleScripts for Entourage: <http://macscripter.net/scriptbuilders/>
PLEASE always state which version of Microsoft Office you are using - **2004**, X or 2001. It's often impossible to answer your questions otherwise.
--
Paul Berkowitz
MVP MacOffice
Entourage FAQ Page: <http://www.entourage.mvps.org/faq/index.html>
AppleScripts for Entourage: <http://macscripter.net/scriptbuilders/>
PLEASE always state which version of Microsoft Office you are using - **2004**, X or 2001. It's often impossible to answer your questions otherwise.
