Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Create Growl notifications from iCal events Apps
I'm not a big fan of the iCal alert, so I went searching for a Growl substitute, and stumbled on Thomas Aylott's solution (which is based on this solution).
  1. Make a backup of iCal in case things go wrong.
  2. Add the email address Growl to your personal Address Book entry. (Mark it as secret if you have that feature enabled.)
  3. Copy the compiled Mail.scpt file [Hints mirror, original source] into the iCal Resources folder. You get there by navigating to /Applications -> iCal.app -> Control-click and choose Show Package Contents -> Contents -> Resources.
  4. Copy Mail.scpt into the iCalHelper Resources folder: /Applications -> iCal.app -> Control-click and choose Show Package Contents -> Contents -> Resources -> iCal Helper.app -> Control-click and choose Show Package Contents -> Contents -> Resources.
Now when you create an iCal event, you can send the alarm as an email to Growl. Here's the source of the script.

[robg adds: I haven't tested this one.]
    •    
  • Currently 1.80 / 5
  • 1
  • 2
  • 3
  • 4
  • 5
  (5 votes cast)
 
[27,105 views]  

Create Growl notifications from iCal events | 9 comments | Create New Account
Click here to return to the 'Create Growl notifications from iCal events' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Create Growl notifications from iCal events
Authored by: aarow75 on Aug 03, '06 08:25:01AM
This tip works great, however the same thing can probably be accomplished using the "run script" and have the the event get piped into a script that calls growlnotify to display it instead of dropping this applescript in iCal.app folder. I still prefer using remind and piping it to growlnotify and having cron pop it up every 15 minutes to see what is on my event and task list (and a keyboard shortcut to have it popup as well).

[ Reply to This | # ]
Create Growl notifications from iCal events
Authored by: fitzage on Aug 03, '06 10:32:52AM

The problem with launching an AppleScript (if I recall correctly) is that iCal offers no way to pass the event information to an AppleScript, and you therefore get very little information in your growl notification.



[ Reply to This | # ]
Create Growl notifications from iCal events
Authored by: 5chm31din6 on Aug 04, '06 04:27:28PM

This doesn't work for me at all. Mail launches and tell me it can't mail the recipient "Growl."

---
Power corrupts. PowerPoint corrupts absolutely.



[ Reply to This | # ]
Create Growl notifications from iCal events
Authored by: yanokwa on Aug 05, '06 12:43:00AM

Make sure you have added "Grow" as an email address in your own address book entry.



[ Reply to This | # ]
Create Growl notifications from iCal events
Authored by: adam_au on Aug 05, '06 05:20:29PM

This works a treat! Thanks.



[ Reply to This | # ]
Script Updated!
Authored by: taylott on Jun 04, '07 07:20:02AM

I recently updated the script to be way way easier to install and use.

The Disk Image contains all the instructions you need and everything.

Enjoy!



[ Reply to This | # ]
Script Updated!
Authored by: taylott on Jun 04, '07 07:25:17AM
Here's my original article on how to make Growl work with iCal properly

Here's a direct link the to updated disk image download. I will keep this link the same as I update it over the years.
Growl iCal Alarms.dmg

[ Reply to This | # ]
Create Growl notifications from iCal events
Authored by: lalcan on Aug 09, '07 01:10:43PM
Since the first time i read it, i thought this solution was too complicated and involved tinkering with files a user shouldn't be editing... almost a year ago I wrote an script that can be executed from iCal, it has worked almost flawlessly and here it is... hope you like it...

http://scriptbuilders.net/files/growlit1.0.html

Or, if you prefer, here's the code for it, just copy into a new script, save it and call it from iCal.

-- GrowlIt
-- Description:
-- An applescript that displays events and to-do's from iCal as Growl notifications.
-- Based on multiple other Applescripts found in multiple sites.
-- No warranty. Tested with iCal 2.0.5 and Growl 0.7.6 under Mac OS X Tiger 10.4.10
-- Written by Leonardo Alcantara
-- Last modified: 2007-08-08
---------------------------------------------------------------------------------------------------------------------------------
set myAllNotesList to {"Events"}
set appName to "GrowlIt"
set now to current date
set startD to now - 2 * hours
set endD to now + 1 * days
tell application "GrowlHelperApp" to
register as application appName all notifications myAllNotesList default notifications myAllNotesList icon of application "iCal"

tell application "iCal"
repeat with thisCalendar in calendars
repeat with thisEvent in ((every event of thisCalendar) whose ((start date ≥ startD and start date ≤ endD) or (end date ≥ now and start date ≤ startD)))
set theEventSummary to ""
set theEventDescription to ""
if exists open file alarm of thisEvent then
set interValue to trigger interval of open file alarm of thisEvent
if (start date of thisEvent is greater than (now - (interValue * minutes) - (1 * minutes)) and start date of thisEvent is less than (now - (interValue * minutes) + (1 * minutes))) then
tell thisEvent
if exists summary of thisEvent then
set theEventSummary to (summary & " in " & (interValue * -1) & " minutes")
end if
set interValue to trigger interval of first open file alarm of thisEvent
if exists description of thisEvent then
set theEventDescription to description
end if
end tell
tell application "GrowlHelperApp" to
notify with name "Events" title theEventSummary description theEventDescription application name appName with sticky
end if
end if
end repeat
end repeat
end tell


[ Reply to This | # ]
Create Growl notifications from iCal events
Authored by: bogstep on Oct 03, '08 12:56:07PM

I've been using Growlit and it's great.

I noticed that iCal event alarms with growlit say "such and such event in 540 minutes" instead of showing it in hours and minutes. How would I change it to show Hours and Minutes instead of just total minutes?



[ Reply to This | # ]