open the AddressBook and have a group selected
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