Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Address Book.. Group and person



On Nov 16, 2006, at 6:42 AM, Bob Cuilla wrote:

Does anyone know the correct syntax to Address Book to add an existing person to a specific group?

tell application "Address Book" set the_contact to item 1 of (get the selection) set theGroup to item 1 of (choose from list ((name of groups) as list)) add the_contact to group theGroup save addressbook end tell

--
"Push to test." (click) "Release to detonate."

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

This email sent to email@hidden
References: 
 >Address Book.. Group and person (From: Bob Cuilla <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.