• 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
open the AddressBook and have a group selected
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

open the AddressBook and have a group selected


  • Subject: open the AddressBook and have a group selected
  • From: Gonzalo Castro <email@hidden>
  • Date: Mon, 27 Sep 2004 16:35:44 -0400

Hello,

I want to open the AddressBook app and have a group selected in it (preferably in edit mode but will settle for the group being selected). I've seen the comment in ABAddressBook.h on how to open the AddressBook app and select or edit a specific person. This works. But not for groups.

From ABAddressBook.h:
// To launch (or bring to front) the Address Book app and edit a given person
//
// NSString *urlString = [NSString stringWithFormat:@"addressbook://%@?edit", [aPerson uniqueId]];
// [[NSWorkspace sharedWorkspace] openURL:[NSURL URLWithString:urlString]];


How can I get a group selected or in edit mode?
Also, is there a way to get a specific field for a person in edit mode? The above code puts the first field in edit mode.
What's this "addressbook://%@?edit" syntax and where is it defined?


Thank you!

Gonzalo

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Prev by Date: Advanced?? Bindings Questions
  • Next by Date: Re: Advanced?? Bindings Questions
  • Previous by thread: Re: Advanced?? Bindings Questions
  • Next by thread: updating menuitems when not first responder
  • Index(es):
    • Date
    • Thread