Application Interfaces - iMail

Description: US : iMail is an unread mail counter and checker for Mail.app
Please report bugs or comments to : widgets@tossen.net

FR : iMail est un compteur et releveur de messages non lus pour Mail.
Envoyez-nous vos suggestions ou bugs : widgets@tossen.net
Author: TOSSEN
Version: 2.1
New in v2.1: Minor bug fixed (flip bug, icon)
Uploaded on: July 8th 2005 at 4:04 AM
Rating: (3.41 stars)   [Show Detailed Ratings]
Downloads: 2939 (all versions), 2495 (this version)
    Download Now »

Comments

Sort

US : This looks way too much like a widget created by maxintosh, which you can find on his website www.imamis.com
NOT COOL at all at all, especially since your other widgets are really elegant and well thought out. I really hope I'm wrong, but the resemblance is sooooooo strong ....

FR : Cela ressemble beaucoup trop a un widget cree par maxintosh et que l'on trouve sur son site web www.imamis.com
PAS COOL MON POTE, PAS COOL... Vraiment pas cool, surtout que tu sembles avoir beaucoup de talent, j'adore tes autres widgets, ils sont tres soignes, elegants... J'espere me tromper, mais c'est gros.

Posted by: alexd on May 29, 05 (2:51 PM) for version 1.0 (previous version)  

FR: En effet, tu te trompe smiley c'est une pure coïncidence, je ne connaissais pas l'existence de ce widget. bref, pour t'en persuader, jete un coup d'oeil sur la source (ctrl+clic > show package) tu verra que ça n'a rien à voir... Enjoy smiley

Comme quoi, les grands esprits se rencontrent...


US : In fact, you are right smiley It is a pure coincidence, as I did not know this widget. Well, as a proof, have a glance at the source (ctrl+clic > show package ) and you'll see it's in no way the same... Enjoy smiley

In French there is a saying which says: " the greatest minds gathers.."

Posted by: TOSSEN (developer) on May 29, 05 (6:29 PM) for version 1.0 (previous version)  

No hard feelings... in fact, this one is better than mine, seeing as mine will launch Mail every time you open Dashboard. That's why mine was never submitted here— I was going to try to fix it eventually, but now that there's a better one, it looks like I don't have to!smiley

Posted by: maxintosh on May 29, 05 (7:26 PM) for version 1.0 (previous version)  

Nice improvement in the new version.really appreciate your work!

Posted by: Illogic on May 30, 05 (1:18 AM) for version 2.0 (previous version)   View Detailed Rating

I dock this widget for functionality as it launches Mail every time to use Dashboard. I mean, really that totally defeats the purpose of the widget doesn't it? Because my dock icon tells me how many unread messages I have. I mean, what is the point of having this widget at all if I have to leave mail open anyway?

If you fix this you will have a very useful widget on your hands, otherwise it is, and I don't mean to be blunt, kind of useless.

Posted by: ArcherCricket on May 30, 05 (8:10 AM) for version 2.1 (current version)   View Detailed Rating

It's only helpful for me because I have so many items on my dock. Even with my high resolution, it makes them all VERY small. With this widget, it's easier to see how many messages I have waiting. Now if only it would count messages that have been moved via a rule to a new folder as new messages... that gets so annoying with Mail.

Posted by: SiliconX on May 30, 05 (8:56 AM) for version 2.1 (current version)   View Detailed Rating

I think this widget kind of sums up widgets nicely.

Utterly pointless.

Posted by: garyi on May 30, 05 (12:15 PM) for version 2.1 (current version)   View Detailed Rating

If you believe that all widgets are pointless (which they aren't), why are you writing reviews for them? Why are you even here? It's a site completely devoted to Dashboard widgets. If you think they're so worthless and don't use them, why are you here?

Posted by: SiliconX on May 30, 05 (6:07 PM) for version 2.1 (current version)  

Very small bug, but I thought I would tell you anyway:

When you click the version check button on the back of the widget, it flips back over and sends you to the website. Well, while it is flipping back over, you can sometimes see that the edges of the widget are cut off until it sends you to the website.

Posted by: zweben on May 31, 05 (12:42 AM) for version 2.1 (current version)   View Detailed Rating

The first version you developed actually caused major problems with exposé. Basically when trying to activate the whole screen/desktop view, it would only show the desktop for a fraction of a second before putting all the windows back into place.
I went through ALL of my widgets and found that your widget was causing this problem.

Just thought I would let you know in case you have 'built' the widget updates in much the same way.

Posted by: trinket on Jun 04, 05 (1:17 PM) for version 2.1 (current version)  

Launches mail.app every time I open dashboard.
Looking forward to a version fixing that problem.

And to nitpick a bit : a few pixels at the bottom of the widget appear to have been chopped off.

Posted by: Youpi on Jun 06, 05 (2:15 AM) for version 2.1 (current version)   View Detailed Rating

Would be perfectly useful except for the crippling Expose problem mentioned above. This is really Apple's problem--they shouldn't let widgets screw up Expose so easily (it's rampant)--but until they fix it, you must.

I hope you do, because yours is the only widget I've found that will check mail locally and isn't hideously oversized. (Although I haven't checked out maxintosh's.)

Posted by: Deicidus on Jul 12, 05 (2:45 PM) for version 2.1 (current version)   View Detailed Rating

If you want iMail to only check for new mail if Mail.app is running do the following:

• go to iMails contents
• open "iMail.scpt" and "iMail_check.scpt"

In iMail.scpt:

• replace

tell application "Mail"
set everyAccount to every account
repeat with eachAccount in everyAccount
set everyMailbox to every mailbox of eachAccount
repeat with eachMailbox in everyMailbox
if name of eachMailbox is "Inbox" then
set unreadCount to unread count of eachMailbox
end if
end repeat
set currUnread to (currUnread + unreadCount)
end repeat

if (count of "INBOX"smiley is greater than 0 then
set finalOutput to finalOutput & "<span class='nb' onclick='go_to_mail();'>" & currUnread & "</span>"
end if
end tell

• with:

tell application "System Events"
set MailIsActive to (process "Mail" exists)
end tell
if MailIsActive then
tell application "Mail"
set everyAccount to every account
repeat with eachAccount in everyAccount
set everyMailbox to every mailbox of eachAccount
repeat with eachMailbox in everyMailbox
if name of eachMailbox is "Inbox" then
set unreadCount to unread count of eachMailbox
end if
end repeat
set currUnread to (currUnread + unreadCount)
end repeat

if (count of "INBOX"smiley is greater than 0 then
set finalOutput to finalOutput & "<span class='nb' onclick='go_to_mail();'>" & currUnread & "</span>"
end if
end tell
end if

In iMail_ckeck:

• replace:

tell application "Mail"
check for new mail for all
end tell

•with:

tell application "System Events"
set MailIsActive to (process "Mail" exists)
end tell
if MailIsActive then
tell application "Mail"
check for new mail for all
end tell
end if

Here you are!
iMail.wdgt will never again launch Mail.app when it's not running!

It would be nice if someone could tell us how to remove the "undefined" message that appears when Mail.app is not running

Or even better:
@ TOSSEN:
Could you add an option:
• Force Mail to check even when it is not running
• Check only when Mail is running

Posted by: Da_Vinci on Aug 08, 05 (6:23 PM) for version 2.1 (current version)  

Do the replacement described in my last comment and then open "iMail.scpt" again and…

• replace the last line "end if" with:

else
set finalOutput to finalOutput & "<span class='nb' onclick='go_to_mail();'>" & "?" & "</span>"
end if

A "?" will appear as message count if Mail is not running instead of the "undefined" message

Posted by: Da_Vinci on Aug 08, 05 (6:31 PM) for version 2.1 (current version)   View Detailed Rating

TOSSEN could you please fix this:
iMail spammes my console (I modified the widget as posted above):

[15561] file:///Users/xxx/Library/Widgets/iMail.wdgt/iMail.html:TypeError - Null value
2005-08-12 17:05:16.364 DashboardClient[15561] (com.tossen.widget.imail) undefined: TypeError - Null value (line: 0)

Ps: you are better to set the code of imail_check.scpt to:
tell application "System Events"
if process "Mail" exists then
tell application "Mail"
check for new mail for all
end tell
end if
end tell
(It's an optimization of the code I had posted on Aug 08, 05 (9:23 AM))

I've scaled iMail.wdgt down to 72x38px because I think it has a nice look but is TOO LARGE for just displaying ONE number.
With 72x38px you cannot read the title of any element of the widget apart from the count number, but I don't need them ^^
So I just deactivated the (just now?) useless back ^
Screenshot:
http://img179.imageshack.us/img179/3161/screenshot8ku.png

Posted by: Da_Vinci on Aug 12, 05 (8:20 PM) for version 2.1 (current version)  

I don't know if I speak for anyone else but this shows the unread email in the inbox, not the actual number of unread emails. I use filters so when i'm looking to see if i have any email it doesn't always give me an acurate count, is there any way to correct this? (Possibily in a new version for those of us who don't have any skill at creating widgets) Otherwise good widget, thanks.

Posted by: OddPodd on Nov 01, 05 (5:09 AM) for version 2.1 (current version)  

I have only just now discovered that this widget is responsible for my not being able to gracefully close down my powerbook for the last two months. whenever I wanted to restart or shut down, I had to kill the machine by holding down the power button. The reason for this was that this widget, or perhaps an earlier version of it would keep restarting mail.app if it were ever closed down. This would even happen on a shutdown cycle and therefore stop shutdown from happening.

Whether or not people find this widget useful is up to them, it's not a bad thing really and looks nice enough. I'm glad to see that Tossen appears to have fix the bug (from earlier posts) but very annoyed to have had weeks of frustrationculminating in calls to apple support to finally figure out the problem myself.

I no longer use this widget as a consequence, esp since mail tells me in the dock if I have unread mail, but feel that a note should be made on the apple widgets page that the latest version needs to be downloaded to resolve the issue, or at least noting this behaviour if anyone else out there is wondering what on earth is going on.

Perhaps this highlights that dashboard itself should perhaps be extended to notify the user if new versions of widgets are available to resolve bugs or similar?

Posted by: zoglet on Nov 15, 05 (7:11 PM) for version 2.1 (current version)   View Detailed Rating

You Must Log In to Post Comments

 
Username:
Password:
Remember Me
Create an account | Password Reminder