Adding address to a group

J

Jim Nollman

My website has a form that invites visitors to leave me their email address.
It arrives in Entourage as an email, with the new address embedded in a text
message that, otherwise, is always the same. The sender, in this case, is my
own email address.

I then highlight the new email address with my mouse, copy it, open the
address book, enter the first four letters of a group named MailList in the
search box, which pops up. I click on the add a new address button, then
paste the new address. Interesting thing is, I also have an Entourage rule,
that does almost the same thing automatically, but it only works with the
sender¹s address.

I¹d like to make a script to do all or most of this. I imagine there must be
some script that will actually highlight the email address automatically,
but I can also highlight it myself. It is mostly the rest of the routine I
would like to automate. Any help in coding, or tips or ideas on where to
find such a script, or maybe some web site that has instructions would be
helpful.
 
B

Barry Wainwright

My website has a form that invites visitors to leave me their email address.
It arrives in Entourage as an email, with the new address embedded in a text
message that, otherwise, is always the same. The sender, in this case, is my
own email address.

I then highlight the new email address with my mouse, copy it, open the
address book, enter the first four letters of a group named MailList in the
search box, which pops up. I click on the add a new address button, then paste
the new address. Interesting thing is, I also have an Entourage rule, that
does almost the same thing automatically, but it only works with the sender¹s
address.

I¹d like to make a script to do all or most of this. I imagine there must be
some script that will actually highlight the email address automatically, but
I can also highlight it myself. It is mostly the rest of the routine I would
like to automate. Any help in coding, or tips or ideas on where to find such a
script, or maybe some web site that has instructions would be helpful.

With a message open and text selected,
set theAddress to selection

Will get the selected text. You can then add ŒtheAddress¹ to the group you
want to use.

If the format of the incoming message is consistent, it should be possible
to get the email out of the message content without you having to open it
and select the address. Then, the script could be called from a rule and
everything would happen without any user intervention.

Would you like to send more details?
 
Top