Firehou.se RSS Feed
Two things I love: firefighting and technology

The Firehouse

The Tech Category Filed in the Tech Category:

Growl notifications with Entourage 2008

Posted by Mike on June 4th, 2008

Having used Thunderbird on my Mac for a couple of years now, I grew accustomed to the Growl notifications it provided (via a plugin) when new email arrived. The time came to switch to an Exchange server, as our email host was getting worse and worse.

I’ve read different reviews on Entourage 2008, but none so bad as to totally put me off at least trying it out. I have to say it’s really good on a few aspects that Thunderbird lacks, but that’s a matter for another post. What really brought me to a spate of AppleScript and some graphics work was the so ugly default popup notifications provided by Entourage, and their position at the bottom of the screen. For a heavy Growl user, totally counter-intuitive. One thing led to another, and I ended up with a script that does the following:

  • Generates a Growl notification with the default style for each new email that arrives (or those you want to – more on this later).
  • Shows the email subject in the notification title, and below the sender’s name (or email address if the sender has no display name), and the first 80 characters of the email – enough to give you a feel of what’s in it.
  • Shows a custom icon for high and highest priority emails, which also have their notifications made sticky.

Without further ado, here are some screenshots:

Default Smoke notification

The default normal-priority notification, in Growl’s Smoke style.

A high priority notification, in AboveTheNight style.

The highest priority of them all – in bright red!

Download eGrowl.zip here, and follow the install instructions found in the Readme.

Enjoy, comments and suggestions welcome!

You should follow me on Twitter here.

28 Responses to “Growl notifications with Entourage 2008”


  1. [...] welches wirklich funktioniert – bis heute. Denn nach all dem suchen und rumprobieren habe ich auf tech.am ein Skript gefunden, welches einwandfrei mit Growl zusammen arbeitet.  apple, entourage, [...]

  2. comment number 2 by: el-flojo

    Seems to work just fine.
    Thank you.

  3. comment number 3 by: Ian

    Works with entourage 2004 just fine!

  4. comment number 4 by: Alan Wallace

    Sweet, exactly what I was looking for. Thanks.

  5. comment number 5 by: Wooden Brain Concepts

    Hi… I’m the developer of OmniGrowl which you might know about.

    I also use entourage and have been running a pretty similar script myself for quite a while.

    Good job on the script — I haven’t run it yet but looking at it I’m sure it works.

    Just one comment for usability sake:

    why not save the script as a “script bundle” which gives you a resources folder? then put the images in the resources folder and use something like this:

    set thepics to {“entourage_normal.png”, “entourage_important.png”, “entourage_urgent.png”}
    set reshfs to ((path to me) as Unicode text) & “eGrowl:Contents:Resources:”
    set ppath to POSIX path of reshfs
    set msgIcon to ppath & item 1 of thepics

  6. comment number 6 by: Michel Paris

    Hello,

    I am sure that i’ll like your software but i obtain this message

    “La règle « tous les messages » n’a pas pu être exécutée lors du traitement du message «  » (ID 5782). Le script a rencontré l’erreur « Erreur dans GrowlHelperApp : ‘image from URL’ parameter – File specified does not exist. » en cours d’exécution.”

    In English:

    The rule “All messages” can’t be executed when processing message “none object” (ID 5782). Script error encountered “Error in GrowHelperApp: ‘image from URL’ parameter – File specified does not exist. ” when processing.

    May you help to make it works fine?

    Thanks in advance for your answer.

    Regards

    Michel Paris

  7. comment number 7 by: Wooden Brain Concepts

    I’ll answer Michel…

    This is because you didn’t follow the instructions and put the picture files where they are supposed to be.

    The suggestion I made above would fix that. You could (and the original script should have) handled the error with try .. on error … end try blocks). but you’d have to know some applescript for either of those solutions!

    For the time being it is possible to fix in an easier way: just RTMF and put the images where they are supposed to be.

  8. comment number 8 by: Mike Puchol

    Wooden Brain Concepts: thanks for your suggestion, I’ve not made a bundle of an AppleScript before, so it will be a good way to learn something new :) I’ll get started on it tonight!

    Michel: As Wooden Brain Concepts metions, you need to place the images in your Pictures folder, as the instructions state.

  9. comment number 9 by: Mike Puchol

    Oh, and I will delve into error checking with the try… blocks, I always leave that for last and forget to add it doh!

  10. comment number 10 by: dan

    was just wondering if the zip at the top was ever updated to use the bundle like wooden brain concepts said?

  11. comment number 11 by: dan

    also wondering if this is still available. i get a 404 error when i click the download link

  12. comment number 12 by: Mike

    The file path has been fixed, thanks for letting me know – the blog move caused the /data folder to be left behind.

  13. comment number 13 by: darin

    Works great – thank you!

  14. comment number 14 by: Brady Gower

    Thank you for this script and ESPECIALLY for the step by step instructions. Very neat and very useful.

  15. comment number 15 by: Matt

    Made the script bundle as Wooden Brain Concepts suggested above but Entourage will not allow you to select an applescript bundle (ending in .scptd) when you setup the rule.


  16. [...] wie immer handgestrickt von einem Leidensgenossen: Hier einfach die aktuelle Version von eGrowl herunterladen. Dann die drei PNG-Dateien in den Benutzerordner (Benutzer/<Name>/Bilder) [...]

  17. comment number 17 by: Ralf Stockmann

    Works great. Than you very much!

  18. comment number 18 by: Sascha

    Works a treat! Thanks a lot :-)

  19. comment number 19 by: piratepinion

    it works for me, but only for pop-mail, not for imap-mail i get through an exchange server. is there any special setting to make it work for imap-mail too? i recently discovered growl and i am starting to like it a lot. if it would work for my imap/exchange server mail too, that would make my life complete… (slight exaggeration)!

  20. comment number 20 by: Mike

    You need to configure the incoming email rules for every account in Entourage, I have exchange, POP and IMAP accounts and they all work the same.

  21. comment number 21 by: piratepinion

    thank you! i hadn’t seen that you actually have to create the rule for each type of account (pop, imap, exchange, etc.). i had created the rule only for pop-accounts, selecting also my exchange server account as a part of that rule. that didn’t work, obviously. thanks to your comment i looked a bit better. it works very well now!

  22. comment number 22 by: Eric

    Hi, I installed this script. And I think I have put them in right folder.
    But error message still pops up, not like those mentioned in previous posts:
    it is:

    The script encountered error “Microsoft Entourage got an error: an error of type 16002 has occurred.” during execution.

    Can you give me some advice on this problem? thanks!

  23. comment number 23 by: Gilles

    Thanks, working perfectly for all my accounts (Exchange, IMAP,..)

  24. comment number 24 by: Mike

    Eric, error 16002 is usually related to database corruption, Google the error number and you will find instructions on how to rebuild it. Does the problem go away if you remove the script and the rule?

  25. comment number 25 by: Al Cook

    Very useful, works perfectly. Thank you for your time!

  26. comment number 26 by: Al Cook

    I found if Entourage was receiving a large number of messages my system got absolutely spammed by growl notifications and i couldn’t do anything. i fixed this by adding a sleep timer of half the length of my growl notification duration – this limits the number of open notifications to 3 max.

    My change is in the section below:
    if msgPri is greater than -1 then
    tell application “GrowlHelperApp”
    – Register ourselves
    register as application “Entourage Growl Notifier” all notifications allNotificationsList default notifications enabledNotificationsList icon of application “Microsoft Entourage”
    – Notifiy Growl
    notify with name “New Email” title (msgSubj) description (“From:” & msgFrom & return & “Message:” & msgText) application name “Entourage Growl Notifier” priority msgPri sticky msgStick image from location msgIcon
    end tell
    end if
    – ARC wait so we don’t spam the growl
    – delay 2 apparently that’s CPU inefficient
    do shell script “sleep 2″


  27. [...] I created a script to enable Growl notifications for Entourage, complete with subject, from and the first part of the email, I have adapted the script to work [...]

  28. comment number 28 by: alex

    dude, pure awesomeness!!!… big thanks, exactly what I was looking for! also good ReadMe btw….

Join the Discussion! Leave a Reply:

Name

Mail (never published)

Website