You can make a difference in the Apple Support Community!

When you sign up with your Apple Account, you can provide valuable feedback to other community members by upvoting helpful replies and User Tips.

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?


Posted on Oct 29, 2024 3:35 AM

Reply

There are no replies.

Unable to delete recurring Calendar events using Script Editor (AppleScript)

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.