Title: Re: How can I add only an email address to a group?
On 6/30/02 9:37 AM, "George Clark" <[EMAIL PROTECTED]> wrote:

>> Well, you cannot change the way the rule does it. What you want might be
>> possible using a script, but one has to ask, why do you care??
>
> Yes, an AppleScript can do this, as Allen surmises. Try:
>
>   tell application "Microsoft Entourage"
>       make new group entry at group  ¬
>           "groupnamehere" with properties {content:"[EMAIL PROTECTED]"}
>   end tell
>
> But also as Allen says, why?

That wouldn't really help as is, George. He doesn't want to hardcode one particular email address but to run it from a rule.:

    tell application "Microsoft Entourage"
        set theMsg to item 1 of (get current messages)
        set theAddress to address of (get sender of theMsg)
        make new group entry at group "groupnamehere" with properties {content:theAddress}
    end tell


That could be run from the same rule (same criteria) he used before to Add to Address Book, but Run AppleScript instead. (The script needs to be saved in Script Editor as a Compiled Script and saved to the Entourage Script Menu Items folder in the Microsoft User Data folder.)

But, like the others, why?

--
Paul Berkowitz

Reply via email to