• 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
Re: Newbe Question: Searching Address Book
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Newbe Question: Searching Address Book


  • Subject: Re: Newbe Question: Searching Address Book
  • From: Brad Bumgarner <email@hidden>
  • Date: Thu, 4 May 2006 10:54:46 -0600

I wanted to wrap up this thread with a big "THANK YOU" to everyone that has helped out. I was able to create a method that gets the first name, last name (or organization name if the entry is a company) and the unique ID of each entry -- combine the first and last names into a string and build an array of lists and IDs. That array is passed back to Applescript where I can manipulate the info there.

Incidentally, I got the obj-c code working yesterday morning/early afternoon and then spent the rest of the day trying to pass the array back to applescript using this code:

set NamesAndIDs to call method "createArrayFromAddressBook" of class "AB_handler"

However, "createArrayFromAddressBook" was never being called. On a hunch, I changed to code to:

set NamesAndIDs to (call method "createArrayFromAddressBook" of class "AB_handler")

and it works like a charm!

Thank you again for helping a newbe! You'll probably be hearing from me again lol

Brad Bumgarner, CTA
_______________________________________________
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


References: 
 >Re: Newbe Question: Searching Address Book (From: Brad Bumgarner <email@hidden>)
 >Re: Newbe Question: Searching Address Book (From: Andrew Knott <email@hidden>)
 >Re: Newbe Question: Searching Address Book (From: Brad Bumgarner <email@hidden>)
 >Re: Newbe Question: Searching Address Book (From: Nelson Santos <email@hidden>)
 >Re: Newbe Question: Searching Address Book (From: Brad Bumgarner <email@hidden>)
 >Re: Newbe Question: Searching Address Book (From: b UND d <email@hidden>)
 >Re: Newbe Question: Searching Address Book (From: Brad Bumgarner <email@hidden>)
 >Re: Newbe Question: Searching Address Book (From: "Klaus L. Greulich" <email@hidden>)

  • Prev by Date: Re: show and hide NSWindow
  • Next by Date: Re: Expanding a window and adding controlls dynammicaly.
  • Previous by thread: Re: Newbe Question: Searching Address Book
  • Next by thread: Re: Newbe Question: Searching Address Book
  • Index(es):
    • Date
    • Thread