While I’m quite proficient in AppleScript Studio, I’m completely allergic to Obj-C.
I’ve looked over Mooresan’s tutorial without making much headway.
I’m trying to do something that I thought would be reasonably simple with Obj-C in my AppleScript Studio project - adding some basic Address Book support. Eventually I’d like to be able to use the PeoplePicker to let my users select a contact, but when I look at the sample PeoplePicker app, I can’t make heads or tails of the code.
For the moment, I’d settle for something incredibly basic:
If I have a contact’s UID, I’d like to be able to get the contact’s name.
I can do this easily in AppleScript, but that requires my users have the Address Book open in the background:
tell application “Address Book”
get name of person id “A5DA3FF8-C08D-11D6-A936-003065F6E4F2:ABPerson”
Here’s the AB framework’s documentation:
Anyone (read: mooresan) want to try to walk me through it? What is the Call Method here?