• 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: how many emails in Mail
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: how many emails in Mail


  • Subject: Re: how many emails in Mail
  • From: Douglas Wagner <email@hidden>
  • Date: Tue, 12 Feb 2002 01:46:16 +0000

Hello:
cricket suggested:
If you have a mailbox called 'INBOX' in your Personal Mailboxes section, you could do this:

tell application "Mail"
get count of every message of mailbox "INBOX" of account "Personal
Mailboxes"
end tell

I ran this script. The first time it returned zero. The second and third runs crashed Mail both times. It immediately (and elegantly) restarted, I might add.

I'm beginning to wonder if there is something wrong with my system. Every script I've attempt since I switched to OS10 returns an error.
(Oh, "activate" works)!

DW
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: how many emails in Mail
      • From: "Mohammad F. Haque" <email@hidden>
    • Re: how many emails in Mail
      • From: "Mohammad F. Haque" <email@hidden>
    • Re: how many emails in Mail
      • From: "Mohammad F. Haque" <email@hidden>
  • Prev by Date: Re: Since Apple Listens to this List... [Case Statements]
  • Next by Date: Re: how many emails in Mail
  • Previous by thread: Re: how many emails in Mail
  • Next by thread: Re: how many emails in Mail
  • Index(es):
    • Date
    • Thread