• 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: birth date from Address Book
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: birth date from Address Book


  • Subject: Re: birth date from Address Book
  • From: Nigel Garvey <email@hidden>
  • Date: Thu, 13 Mar 2003 00:18:01 +0000

John Delacour wrote on Wed, 12 Mar 2003 20:23:43 +0000:

>No comprendo! Surely this should work, and according to the event
>log, it does work, but I can run this script a thousand times and end
>up with not a single Joe Bloggs in my address book. So far as I can
>see Address Book is simply another badly broken affair like Mail. I
>do wish someone would tell us what's going on.
>
>
>tell application "Address Book"
> set p to {nickname:"J_Bloggs", name:"Joe Blox"}
> make person with properties p
> properties of result
>end tell

This works:

tell application "Address Book"
set p to {nickname:"J_Bloggs", first name:"Joe", last name:"Blox"}
make person with properties p
properties of result
end tell

The 'name' is apparently constructed internally from the 'first name' and
the 'last name'. This is a bit short-sighted as many people (myself
included) are known by a middle name. (Many Web sites can't deal with
this either, or with the fact that many people (myself excluded) have
more than one middle initial.)

NG
_______________________________________________
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.

  • Prev by Date: Re: Illustrator scripting syntax
  • Next by Date: Import Quark document into Quark
  • Previous by thread: Re: birth date from Address Book
  • Next by thread: Re: birth date from Address Book
  • Index(es):
    • Date
    • Thread