• 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: Setting properties in Address Book
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Setting properties in Address Book


  • Subject: Re: Setting properties in Address Book
  • From: Michelle Steiner <email@hidden>
  • Date: Sun, 10 Feb 2008 00:03:28 -0700

On Feb 9, 2008, at 10:26 PM, Robert R. Horning wrote:

In Tiger, having retrieved the person's id, is it possible to set properties, such as Title, Nickname, and Suffix, for a person in the Address Book after the entry for that person has been entered?  If so, what's the syntax?

tell application "Address Book"
set foo to person "Michelle steiner"
tell foo
set its title to "Queen"
set its nickname to "Redhead Gal"
set its suffix to "full of herself"
end tell
save addressbook
end tell

-- Michelle

--
Science is the defense of ignorance, the insistence that we do not know what we do not know.  --Clifford Geertz    


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

  • Follow-Ups:
    • Re: Setting properties in Address Book
      • From: Peter Baxter <email@hidden>
    • Re: Setting properties in Address Book
      • From: "Robert R. Horning" <email@hidden>
References: 
 >Setting properties in Address Book (From: "Robert R. Horning" <email@hidden>)

  • Prev by Date: Re: PHP and Applescript
  • Next by Date: Re: a date is not a date? Or: Why I sometimes hate AppleScript...
  • Previous by thread: Setting properties in Address Book
  • Next by thread: Re: Setting properties in Address Book
  • Index(es):
    • Date
    • Thread