Re: Address Book custom fields?
Re: Address Book custom fields?
- Subject: Re: Address Book custom fields?
- From: Philip Aker <email@hidden>
- Date: Thu, 11 Oct 2007 09:47:10 -0700
On 2007-11-10, at 07:11, Michael Grant wrote:
I found the reference to the Address Book custom field entity in
the iSync schema reference for address book:
<http://developer.apple.com/documentation/AppleApplications/
Reference/SyncServicesSchemaRef/index.html>.
There's a side note in that link with a caveat about using
SyncServices and AddressBook frameworks.
Custom fields are listed there as being available in Tiger and
later, so presumably they can at least be accessed through the
SyncServices framework (I don't know if that's technically
considered part of Cocoa or not), even if I have to roll my own UI
for them.
I think you might want to investigate the AddressBook property
mechanism:
<http://developer.apple.com/documentation/UserExperience/Conceptual/
AddressBook/Tasks/AddingProperties.html#//apple_ref/doc/uid/20001026>.
In particular the string properties. There is also a C language
interface for AddressBook. You would have to be familiar with only
the basic CoreFoundation objects (like dictionaries and arrays) in
order to get at it that way. Apple has some sample code at this level.
It looks like I'm facing a pretty big learning curve if I want to
tackle this. I've always thought the potential benefit of having
the AB data store as a known-available central repository for
contact info is huge, but so far I've been pretty disappointed by
the implementation.
I know there is an AddressBook interface available for Tcl <http://
perso.orange.fr/bdesgraupes/DocHTML/TclAB.html> but it is not
included in a stock install of MacOS X (it might be there in
Leopard). That might be a much smaller learning curve.
Philip Aker
email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden