Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'how do you retrieve the user's hex id code?' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
how do you retrieve the user's hex id code?
Authored by: etrepum on Oct 31, '03 10:18:09AM
You should call these "ugly hex id codes" GUIDs (globally unique identifiers). Pretty standard junk if you've ever worked with COM or similar technologies. You can get/set all the info in AddressBook via the ABAddressBook framework, or by AppleScript.. For example:

tell application "Address Book"
    get the id of the first person
end tell

"64B68AC2-0452-11D8-9C94-000A95686CD8:ABPerson"

[ Reply to This | # ]