Entourage ships witgh several scripts like “Create Task from Message,” “Create Note from Message,” and “Create Event from Message.” The one that seems to missing is “Create Contact from Message.” I tried to write one but couldn’t find a reference to the message fields or objects I needed. Does someone have such a script?
Hi,
Entourage 2000 has under “Tools” the command “Add to Address Book” (Cmd+=), I think this is faster than any AppleScript. Otherwise you could use something like
--works only if the message is open in Entourage's front window
tell window 1 of application "Microsoft Entourage"
set m to displayed message
set s to sender of m
set addr to address of s
set dispName to display name of s
make new contact at address book with properties {email address:addr, last name:dispName}
end tell
Good scripting
Farid
Okay, now I feel stupid! Thanks. This is just what the doctor ordered.
You shouldn’t! I hope it works fine for you,
Good scripting
Farid