Skip navigation.
 
mlSelecting a person in Address Book
FROM : Kai Brüning
DATE : Wed Nov 28 19:47:57 2007

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

Related mailsAuthorDate
mlSelecting a person in Address Book Kai Brüning Nov 28, 19:47
mlRe: Selecting a person in Address Book Sean McBride Nov 28, 20:25
mlRe: Selecting a person in Address Book Kai Brüning Nov 28, 20:58