• 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: Delete People from Group [Solved]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Delete People from Group [Solved]


  • Subject: Re: Delete People from Group [Solved]
  • From: Marc <email@hidden>
  • Date: Wed, 14 Sep 2011 19:19:34 -0700

Please disregard this thread.  I forgot the 'Save' command.  I'm embarrassed.  =:\

tell application "Address Book"
activate
set theGroup to group "Recent Customers"
set peopleToDelete to people of theGroup
repeat with thisPerson in peopleToDelete
delete thisPerson
end repeat
save
end tell


Marc
 _______________________________________________
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: 
 >Delete People from Group (From: Marc <email@hidden>)

  • Prev by Date: Delete People from Group
  • Next by Date: Fwd: Delivery Status Notification (Failure)
  • Previous by thread: Delete People from Group
  • Next by thread: Fwd: Delivery Status Notification (Failure)
  • Index(es):
    • Date
    • Thread