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