• 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
Creating Entourage contacts (revisited)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Creating Entourage contacts (revisited)


  • Subject: Creating Entourage contacts (revisited)
  • From: Jolly Roger <email@hidden>
  • Date: Thu, 21 Jun 2001 12:17:45 -0500

Guys, I am not getting this. I've been at it 30 minutes, and still nothing.
Can you tell what I am doing wrong here?

-- begin script
tell application "Microsoft Entourage"
set newContact to make new contact with properties {first name:"First",
last name:"Last", description:"added via AppleScript."}
set newContact's email addresses to {contents:"email@hidden"} --
this won't work =(
--set newContact's default email address to (newContact's email address
1) -- this won't work either =(

set {a, b, c} to {last name, first name, name} of newContact
try
set d to contents of email address 1 of newContact
on error
set d to "no email address =("
end try
open newContact
{a, b, c, d}
end tell
-- end script

This doesn't fail to compile, but results in no email address being added to
the contact. I'd love to be able to add the email address on the same line
as the "make new contact" but have not been able to do it, so I was going to
settle for adding it afterwards; but I can get neither one to work.

Help!

JR


  • Follow-Ups:
    • Re: Creating Entourage contacts (revisited)
      • From: Paul Berkowitz <email@hidden>
    • Re: Creating Entourage contacts (revisited)
      • From: "Stephen Swift (aka Burnum)" <email@hidden>
    • Re: Creating Entourage contacts (revisited)
      • From: "Stephen Swift (aka Burnum)" <email@hidden>
References: 
 >Re: Stuffit Commands and Lists (From: Michelle Steiner <email@hidden>)

  • Prev by Date: Trash locked files
  • Next by Date: Re: Problems using Tanaka's osax
  • Previous by thread: Re: Stuffit Commands and Lists
  • Next by thread: Re: Creating Entourage contacts (revisited)
  • Index(es):
    • Date
    • Thread