• 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: All groups of person in Address Book
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: All groups of person in Address Book


  • Subject: Re: All groups of person in Address Book
  • From: Paul Berkowitz <email@hidden>
  • Date: Thu, 22 May 2003 22:53:48 -0700

On 5/22/03 9:56 PM, "Todd Geist" <email@hidden> wrote:

> I am trying to get all the groups for a person in OSX Address Book
>
> This doesn't work
>
> --
> tell application "Address Book"
>
> get every group of person 1
>
> end tell
> --
>
>
> I get this error:
>
> tell application "Address Book"
> get every group of person 1
> "Address Book got an error: NSInternalScriptError"
>
> Can any body give me a clue?

Sure. Lots of stuff doesn't work in Apple's Cocoa applications' scripting.
Address Book is less bad than most of them, but it's still got a fair number
of things that don't work. 'group' is supposed to be an element of 'person',
but - effectively it isn't. It just doesn't work. It would be nice if it
did, for sure. You suspected it, and now you know.

Now try Mail, iCal and TextEdit. Lots of fun awaits you.

Then go back to applications that have been properly scripted, or wait for
improvements in some later version.

--
Paul Berkowitz
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

References: 
 >All groups of person in Address Book (From: Todd Geist <email@hidden>)

  • Prev by Date: Re: All groups of person in Address Book
  • Next by Date: Re: All groups of person in Address Book
  • Previous by thread: Re: All groups of person in Address Book
  • Next by thread: Re: All groups of person in Address Book
  • Index(es):
    • Date
    • Thread