Is there a hook for triggering scripts when a particular notification is displayed?
In calendar.app you’re able to set a file to run instead of an alert. Try creating an Automator file, and select the calendar type