• 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 'group' for person in Address Book....
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Setting 'group' for person in Address Book....


  • Subject: Re: Setting 'group' for person in Address Book....
  • From: Michelle Steiner <email@hidden>
  • Date: Sun, 22 May 2005 23:12:36 -0700


On May 22, 2005, at 11:00 PM, David Crowe wrote:

set group of person 1 to "Family"

... gets an error.


I'm sure someone knows how to do this. I think the complexity is because "group" is not a property of the class Person, but an element, which theoretically might mean that a person might be associated with multiple groups.

Exactly, a person can definitely be associated with multiple groups.

So, here is how to do it:

tell application "Address Book"
    copy person "Sharon Steiner" to after people of group "Family"
end tell


-- "Cut the red wire (clip) (turn page) but first...."

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Setting 'group' for person in Address Book....
      • From: Daniel Jalkut <email@hidden>
References: 
 >Setting 'group' for person in Address Book.... (From: David Crowe <email@hidden>)

  • Prev by Date: Setting 'group' for person in Address Book....
  • Next by Date: Re: Working with big lists
  • Previous by thread: Setting 'group' for person in Address Book....
  • Next by thread: Re: Setting 'group' for person in Address Book....
  • Index(es):
    • Date
    • Thread