Go Back   The macosxhints Forums > OS X Help Requests > Applications



Reply
 
Thread Tools Rate Thread Display Modes
Old 07-07-2010, 05:11 PM   #1
regagain
Prospect
 
Join Date: Jul 2010
Posts: 4
[Apple Mail] see the total number of emails in a folder

Hi guys!

I would like to have the total number of emails contained in each folder (including both read and unread messages) displayed near the folder's name on the left part of Mail (basically where -- or near -- the number of unread emails is shown).

So far I've tried the following, but had no luck:
* I haven't found any preference setting that lets us do this
* I haven't found any third party tool
* I haven't found any hint, tip, or basically any other kind of information on the net
* I had a look in the software's keys (using the defaults read com.apple.mail command in a terminal), I did not find anything, but I am not an expert.

If anybody knows how to achieve this, let me know. Or if you have any idea that can be explored, please share, I would really appreciate
regagain is offline   Reply With Quote
Old 07-07-2010, 05:24 PM   #2
roncross@cox.net
MVP
 
Join Date: Jan 2004
Posts: 1,764
http://www.tikouka.net/mailapp/
__________________
with warm regards
Ronald Cross
roncross@cox.net is offline   Reply With Quote
Old 07-07-2010, 06:13 PM   #3
regagain
Prospect
 
Join Date: Jul 2010
Posts: 4
Thanks for the tip but I haven't found anything on the page. Any other suggestions?
regagain is offline   Reply With Quote
Old 07-07-2010, 06:21 PM   #4
roncross@cox.net
MVP
 
Join Date: Jan 2004
Posts: 1,764
May I ask why do you need to do this? There maybe a better way of achieving what's you're looking to do. Some folders may be nested in other folders so do you also need to know if a folder is nested and how may items are in it?
__________________
with warm regards
Ronald Cross
roncross@cox.net is offline   Reply With Quote
Old 07-07-2010, 07:01 PM   #5
regagain
Prospect
 
Join Date: Jul 2010
Posts: 4
Basically I have created several folders and smart folders in order to manage the emails I receive (for example "to do", "references", ...). I usually process the emails in my inbox on a regular basis, this resulting in putting them into the relevant folder for further action (if needed). So once the emails are processed (i.e. out of my inbox), I cannot care less about the number of unread emails. The total number on the other hand is a very interesting information.
Regarring the nested folders, I am not using them at all and have no plan to do so.

Thank you for your help.
regagain is offline   Reply With Quote
Old 07-08-2010, 04:42 AM   #6
regulus6633
Major Leaguer
 
Join Date: Apr 2005
Posts: 478
Easiest solution is to use applescript. Here's a basic script. Just stick it in the following folder ~/Library/Scripts/Applications/Mail/. Make sure the applescript menu is visible in your menubar by checking the preference in the General section of AppleScript Editor's preferences. Then when you want to know this information just select the script from the applescript menu. It's not the solution you were looking for but it's something at least.
Code:
set dialogText to "Summary of Mail.app's Mailboxes" & return & return
tell application "Mail"
	set allMailboxes to mailboxes
	
	repeat with aMailbox in allMailboxes
		set thisCount to count of (get messages of aMailbox)
		set thisText to name of aMailbox & ": " & (thisCount as text) & return
		set dialogText to dialogText & thisText
	end repeat
	
	set dialogText to text 1 thru -2 of dialogText
	display dialog dialogText buttons {"OK"} default button 1 with icon note
end tell
regulus6633 is offline   Reply With Quote
Old 07-08-2010, 01:12 PM   #7
regagain
Prospect
 
Join Date: Jul 2010
Posts: 4
Hi Regulus,

This is an interesting idea. At least I can get the information for all the folders at the same time.

I'm going to give it a try. Thank you!
regagain is offline   Reply With Quote
Reply

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



All times are GMT -5. The time now is 08:45 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.
Site design © IDG Consumer & SMB; individuals retain copyright of their postings
but consent to the possible use of their material in other areas of IDG Consumer & SMB.