• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Entourage scripting question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Entourage scripting question


  • Subject: Re: Entourage scripting question
  • From: Paul Berkowitz <email@hidden>
  • Date: Wed, 11 Dec 2002 17:58:21 -0800

On 12/11/02 5:42 PM, "James Wondrasek" <email@hidden> wrote:

> I am trying to do something simple - create a new contact in Entourage,
> but the email field keeps getting mangled. Below is the code:
>
> tell application "Microsoft Entourage"
> set theBusinessAddress to {street address:"123 Thing Street",
> city:"Sydney", state:"NSW", zip:"2000"}
> set newContact to make new contact ,
> with properties {business address:theBusinessAddress,
> first name:"Testf", last name:"Testl"}
> make new email address at newContact with data {display
> name:"Testing test", address:"email@hidden"}
> end tell
>
> The resulting email address in Entourage is:
>
> dle2TEXT:dspnTEXT Testing testaddrTEXT
> email@hidden
>
> which looks a bit different in a one line field.
> I've tried make with properties, but Entourage doesn't seem
> to like that. Any suggestions?

make new email address at newContact with properties
{contents:"email@hidden"}


You're making an email address of a contact, not a sender or recipient
address of a message. Check the Dictionary for 'email address' in the
Contact Suite, not 'address' in the Mail and News Suite. When you do it like
this, Entourage knows what to do when you send a message to that contact.

--
Paul Berkowitz
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: Entourage scripting question
      • From: Paul Berkowitz <email@hidden>
References: 
 >Entourage scripting question (From: James Wondrasek <email@hidden>)

  • Prev by Date: Entourage scripting question
  • Next by Date: Re: Entourage scripting question
  • Previous by thread: Entourage scripting question
  • Next by thread: Re: Entourage scripting question
  • Index(es):
    • Date
    • Thread