Growl notifications for iCal on Leopard

hi

on Tiger, I was using a brilliant script which sent iCal alarm via Growl
http://tinyurl.com/ybenfw
after installing the script, it was a matter of creating an extra email address in the Me card called “Growl”; and refer to it when an alarm was necessary for a particular event.
very clever!

but Leopard, and it might be the last minor detail to make the transition to it memory…

anyone would have an Applescript solution to do just that?

cheers,

Hi Pascal,

this script determines the event(s) by start date, which call the script right now,
so you can use its parameters


tell (current date) to set ct to it - (its seconds)
tell application "iCal"
	repeat with oneCal in (get calendars)
		repeat with oneEvent in (get events of oneCal whose start date is ct)
			if oneEvent is not missing value then
				tell oneEvent to set {s, d, l} to {summary, description, location}
				-- do something like growl notification 
			end if
		end repeat
	end repeat
end tell

hi Stefan, one more time you are at the rescue…
this time I’m not sure to understand how and when to trigger the script? and how Growl is called?
is it within an iCal event / Alarm / Run Script / [select this one] / [set time parameters: eg “1 hour before”

it’s just to do with my limited knowledge of Applescript.
if you wouldn’t mind to clarify your script please…
cheers,

Not meaning to blow my own horn, but I wrote a tutorial about “growling” from AppleScripts

http://macscripter.net/articles/486_0_10_0_C/

attach the script to a Run Script alarm with parameter on date.
You can take the growl handler from your script which doesn’t work any more calling the handler
in the do something. line or write something using Adam’s tutorial

thanks guys!
I’ll put my head around it, specially going through your tutorial Adam…
cheers,