Re: Setting 'group' for person in Address Book....
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