somehow added todo to readonly calendar, now how to remove?

I was messing with a script to make a Todo from an incoming mail message in

Somehow along the say I created a Todo in the US Holidays calendar. I cannot delete this Todo or mark it done because the calendar is read-only.

Any suggestions for removing this Todo that doesn’t want to be removed?


Check the name of the calendar is correct and run the following:

tell application "iCal"
		delete every todo of calendar "US Holidays"
	on error theErr
		display alert "Delete todos failed" message theErr
	end try
end tell

Best wishes

John Maisey

Brilliant, that did it. Thank you!