• 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 & Groups
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Address book & Groups


  • Subject: Re: Address book & Groups
  • From: Peter Baxter <email@hidden>
  • Date: Thu, 5 Apr 2007 12:32:47 +1000

Hi Michelle,


That's marvellous! I didn't know you could allow multiple selections in that manner.





On 05/04/2007, at 12:12 PM, Michelle Steiner wrote:

tell application "Address Book"
set the_peeps to (choose from list (get name of the people) with multiple selections allowed)
set the_groups to (choose from list (get name of the groups))
repeat with the_peep in the_peeps
copy person the_peep to after the people of group (item 1 of the_groups)
end repeat
save addressbook
end tell

Peter Baxter email@hidden


"My masterpiece? Come on, it's Bolero! Unfortunately, it's empty of music." -Ravel


_______________________________________________ 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
  • Follow-Ups:
    • Re: Address book & Groups
      • From: Michelle Steiner <email@hidden>
References: 
 >Address book & Groups (From: Bob Cuilla <email@hidden>)
 >Re: Address book & Groups (From: Michelle Steiner <email@hidden>)

  • Prev by Date: Can it be done?
  • Next by Date: Re: Address book & Groups
  • Previous by thread: Re: Address book & Groups
  • Next by thread: Re: Address book & Groups
  • Index(es):
    • Date
    • Thread