Re: how many emails in Mail
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.