Selecting a person in Address Book
Selecting a person in Address Book
- Subject: Selecting a person in Address Book
- From: Kai BrĂ¼ning <email@hidden>
- Date: Wed, 28 Nov 2007 19:47:57 +0100
I'd like to tell the Address Book application to select a specific
person (given by its id).
As far as I can see, the Cocoa Address Book Objective-C Framework
does not provide methods to do this. Ok, with the exception of
-[ABPeoplePickerView editInAddressBook:], but I do want to achieve
this without having a selection in an ABPeoplePickerView and I do not
want to go to edit mode.
I thought AppleScript might be the way to go, and it almost is: you
can set the selection to a person by its id. Unfortunately this only
works if the person is a member of the currently selected group. And
there seems to be no way to change the group selection. I already
searched the applescript-users list to no avail.
Now I hope I simply overlooked something in the Address Book
Objective-C Framework.
Thanks
Kai
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden