PC Review
Forums
Newsgroups
Microsoft Outlook
Microsoft Outlook VBA Programming
Neo's Script to Programmatically Toggle the Outlook SysTray Icon
Forums
Newsgroups
Microsoft Outlook
Microsoft Outlook VBA Programming
Neo's Script to Programmatically Toggle the Outlook SysTray Icon
![]() |
Neo's Script to Programmatically Toggle the Outlook SysTray Icon |
|
|
Thread Tools | Rate Thread |
|
|
#1 |
|
Guest
Posts: n/a
|
Neo's mail icon removal script of course works liek a charm. The only
problem, which I've seen brought up at least once in this group, is that a "real" mail, followed by a "fake" mail will erroneously get rid of the notification icon. Has anyone come up with a workaround for this? The easy answer which immediately comes to mind for those who typically keep no unread mail in their "real" mail folders (in other words, those folders for which new mail SHOULD generate the icon) would be just to get the unread mail count for all pertinant folders -- if any of them are non-zero, don't remove the icon. Any thoughts on how this (or something better) might be accomplished? |
|
|
|
#2 |
|
Guest
Posts: n/a
|
Another thought would be to reverse Neo's script so that it generates
rather than deletes an icon. The script could then be called (with the Outlook "Show an envelope icon in the notification area" option turned off) whenever a "real" mail message arrived. In this manner "fake" messages would not erroneously hide the notification icon if it preexisted. Any thoughts on how to accomplish this? |
|
|
|
#3 |
|
Guest
Posts: n/a
|
What is a real mail as opposed to a fake mail?
-- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003 Reminder Manager, Extended Reminders, Attachment Options http://www.slovaktech.com/products.htm "Ganchrow Harris Peck" <ganchrow@gmail.com> wrote in message news:1109452283.606692.255710@f14g2000cwb.googlegroups.com... > Neo's mail icon removal script of course works liek a charm. The only > problem, which I've seen brought up at least once in this group, is > that a "real" mail, followed by a "fake" mail will erroneously get rid > of the notification icon. Has anyone come up with a workaround for > this? > > The easy answer which immediately comes to mind for those who typically > keep no unread mail in their "real" mail folders (in other words, those > folders for which new mail SHOULD generate the icon) would be just to > get the unread mail count for all pertinant folders -- if any of them > are non-zero, don't remove the icon. > > Any thoughts on how this (or something better) might be accomplished? > |
|
|
|
#4 |
|
Guest
Posts: n/a
|
Well, in the context of Neo's mail icon removal script, a piece of
"real" mail would be one to which I would want to be alerted via the systray envelope icon. Conversely, a piece of "fake" mail would be one to which I would not care to be alerted via the envelope icon (a superset of plain old spam). |
|
|
|
#5 |
|
Guest
Posts: n/a
|
I'd probably handle ItemAdd in the Inbox but the real problem is the new
mail icon and how and when it's displayed. It's not necessarily displayed for each and every mail item that arrives, it's more or less like the NewMail event which fires at intervals. Using ItemAdd you could put up your own sys tray icon using whatever graphic you wanted. There are a number of samples in the VB section at www.mvps.org that show how to do that, one by Randy Birch works well. I'm not sure you could do that using VBA however, it probably would require using VB since you have to handle Windows messages callbacks. -- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003 Reminder Manager, Extended Reminders, Attachment Options http://www.slovaktech.com/products.htm "Ganchrow Harris Peck" <ganchrow@gmail.com> wrote in message news:1109604954.596442.272000@g14g2000cwa.googlegroups.com... > Well, in the context of Neo's mail icon removal script, a piece of > "real" mail would be one to which I would want to be alerted via the > systray envelope icon. Conversely, a piece of "fake" mail would be one > to which I would not care to be alerted via the envelope icon (a > superset of plain old spam). > |
|
|
|
#6 |
|
Guest
Posts: n/a
|
THE PROBLEM IS THE SOFTWARE CONTACT THE VENDOR.
THE TRUE/FALSE FLAGS ARE BACKWARDS. >-----Original Message----- >Neo's mail icon removal script of course works liek a charm. The only >problem, which I've seen brought up at least once in this group, is >that a "real" mail, followed by a "fake" mail will erroneously get rid >of the notification icon. Has anyone come up with a workaround for >this? > >The easy answer which immediately comes to mind for those who typically >keep no unread mail in their "real" mail folders (in other words, those >folders for which new mail SHOULD generate the icon) would be just to >get the unread mail count for all pertinant folders -- if any of them >are non-zero, don't remove the icon. > >Any thoughts on how this (or something better) might be accomplished? > >. > |
|
|
|
#7 |
|
Guest
Posts: n/a
|
Not sure I follow ...
|
|
![]() |
|
| Thread Tools | |
| Rate This Thread | |
|
|

Main Page 

