• 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: "Mohammad F. Haque" <email@hidden>
  • Date: Mon, 11 Feb 2002 21:06:01 -0500

i tried it and works fine for me, did you make sure you had an inbox in the personal box. i had to change it with my accounts.


On Monday, February 11, 2002, at 08:46 PM, Douglas Wagner wrote:

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.
_______________________________________________
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.

References: 
 >Re: how many emails in Mail (From: Douglas Wagner <email@hidden>)

  • Prev by Date: Re: how many emails in Mail
  • 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