(Entourage 2004) While I recognize that the main idea of the Contacts tabs
with the Project Center is to create a shareable list of contact data for
members of a particular project, what I'd really like to be able to do is a)
create rules based on that list and 2) to send e-mail messages to that list,
neither of which I can see a way to do without separately creating and
maintaining a Group.
Perhaps an AppleScript could be created that would compare a particular
group against the contact list of a particular project and synchronize them.
You can do it easily without a script. In the Address Book, sort by Project
by clicking on the Project column. Shift-click top and bottom of one project
to select them, and click "New Group" in the toolbar. That automatically
makes a new group. In future when you add a contact to the project, add it
to the group too. If you forget, then every now and again sort the Address
Book the same way by project and drag them all into the group - you
shouldn't get duplicates, just the new members added.
The only rules in Entourage are for mail. There is no way to "intercept"
yourself dragging a contact to the project and have it added automatically
to a group or anything else. Even with a script, you'd always have to
remember to run it. It would mean getting every contact which was a member
of the project, looping through them all to see if they were already in the
group, and if not, add them. That could be done quite easily. Would you
really find that easier than just dragging them into the group?
This should do it (untested):
tell application "Microsoft Entourage"
set projectContacts to every contact whose project list contains
{project "Whatever"}
set projectGroup to group "Whatever"
set groupMemberAddresses to address of address of every group entry of
projectGroup
repeat with i from 1 to (count projectContacts)
set projectContact to item i of my projectContacts
try -- may not have email address
set eAddress to default email address of projectContact
if {eAddress} is not in groupMemberAddresses then
make new group entry at projectGroup with properties
{content

rojectContact}
set end of groupMemberAddresses to eAddress
end if
end try
end repeat
beep
display dialog "Done!" buttons {"OK"} default button 1 with icon 1
end tell
--
Paul Berkowitz
MVP MacOffice
Entourage FAQ Page: <
http://www.entourage.mvps.org/faq/index.html>
AppleScripts for Entourage: <
http://macscripter.net/scriptbuilders/>
Please "Reply To Newsgroup" to reply to this message. Emails will be
ignored.
PLEASE always state which version of Microsoft Office you are using -
**2004**, X or 2001. It's often impossible to answer your questions
otherwise.