• 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: Applescript-users Digest, Vol 2, Issue 630
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Applescript-users Digest, Vol 2, Issue 630


  • Subject: Re: Applescript-users Digest, Vol 2, Issue 630
  • From: "Patrick J. Collins" <email@hidden>
  • Date: Tue, 27 Sep 2005 15:58:56 -0700 (PDT)

Hi,

Is there an easy way to count every email of every person in addressbook?

	tell application "Address Book"
			activate
				set personlist to every person as list
				set emailcount to count email of personlist
	end tell


or do I need to do a repeat statement that goes through each person > each email > and each email value and then count that?

Patrick J. Collins
http://collinatorstudios.com


_______________________________________________ Do not post admin requests to the list. They will be ignored. Applescript-users mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
  • Follow-Ups:
    • Re: Applescript-users Digest, Vol 2, Issue 630
      • From: Michelle Steiner <email@hidden>
  • Prev by Date: Re: How to deal with Asynchronous Finder operations
  • Next by Date: Re: Records
  • Previous by thread: Re: multiple text delimiters
  • Next by thread: Re: Applescript-users Digest, Vol 2, Issue 630
  • Index(es):
    • Date
    • Thread