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

Re: Address Book smart groups


  • Subject: Re: Address Book smart groups
  • From: Michelle Steiner <email@hidden>
  • Date: Sun, 6 Apr 2008 14:59:50 -0700


On Apr 6, 2008, at 1:21 PM, Robert R. Horning wrote:

1. Is there a programmatic way to ascertain whether an existing Address Book group is a smart group?
(Actually, you can infer that a group is a smart group by checking to see if attempting to add a member results in error 1, but this is pretty clunky.)

tell application "Address Book" set smartGroups to groups whose id ends with ":ABSmartGroup" end tell

2. Is there a way to create an Address Book smart group programmatically?

Not that I've been able to figure out.

-- Michelle

--
"English has pursued other languages down alleyways to beat them unconscious and rifle their pockets for new vocabulary."



_______________________________________________ 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
References: 
 >Address Book smart groups (From: "Robert R. Horning" <email@hidden>)

  • Prev by Date: Address Book smart groups
  • Next by Date: Re: hdiutil (suppress license agreemet)
  • Previous by thread: Address Book smart groups
  • Next by thread: Address Book stops indexing after editing Notes field w/ Applescript?
  • Index(es):
    • Date
    • Thread