• 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
Selecting a person in Address Book
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Selecting a person in Address Book
      • From: "Sean McBride" <email@hidden>
  • Prev by Date: Re: CALayer - delegate not being called?
  • Next by Date: Re: Adding HUD context pannel to rows within NSOutlineView
  • Previous by thread: Re: New Cocoa functionality on Leopard
  • Next by thread: Re: Selecting a person in Address Book
  • Index(es):
    • Date
    • Thread