• 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: attempting to count messages in Mail
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: attempting to count messages in Mail


  • Subject: Re: attempting to count messages in Mail
  • From: Allen Watson <email@hidden>
  • Date: Wed, 07 Nov 2001 13:42:23 -0800

About five minutes in the Mail.app dictionary, and I came up with this,
which works to set the message count for my account:

tell application "mail.app"
set x to count messages of mailbox "INBOX" of account
"iTools:email@hidden"
end tell

Apparently you have to specify the account to which the mailbox (not folder)
belongs.

--
Allen Watson, Portland, OR -- <email@hidden>
My web page: <http://home.earthlink.net/~allenwatson/>
Teach only love, for that is what you are. (A Course in Miracles)


  • Prev by Date: Re: set picture boxes with TIFF picture to a variable?
  • Next by Date: Akua Sweets geographic location/time zone corrupts the setting!?
  • Previous by thread: Re: attempting to count messages in Mail
  • Next by thread: Re: attempting to count messages in Mail
  • Index(es):
    • Date
    • Thread