Help: iCal Event Alarm Script

I need help creating an Applescript to use as an iCal event alarm. I need the script to get the event summary of the event that triggered the alarm and put the event summary on the clipboard. Thanks.

Hi Rob,

try this

tell (current date) to set ct to it - (its seconds)
tell application "iCal"
	repeat with oneEvent in (get events of calendars whose start date is ct)
		if contents of oneEvent is not missing value then
			set the clipboard to (get summary of oneEvent)
		end if
	end repeat
end tell

Thanks Stefan! Works great!