Unable to delete recurring Calendar events using Script Editor (AppleScript)
tell application "Calendar"
set destinationCalendar to calendar DestinationCalendarName
-- Clear the destination calendar
log "Deleting all events from " & DestinationCalendarName
set oldEvents to get every event of calendar DestinationCalendarName
repeat with anEvent in oldEvents
delete anEvent
end repeat
end tell
I am using the script above to try remove all events from an Apple iCloud calendar. I used a script to put them there. This script successfully removes regular entries, but not recutting ones.
Any ideas?