Skip to content

Instantly share code, notes, and snippets.

@ryanlaner
Created March 18, 2015 06:27
Show Gist options
  • Save ryanlaner/02b10ddbc68251cd9f1c to your computer and use it in GitHub Desktop.
Save ryanlaner/02b10ddbc68251cd9f1c to your computer and use it in GitHub Desktop.
Apple Reminders.app -- Delete Completed Reminders
set the theList to {"Reminders", "Groceries"} -- Edit/Add all Reminder lists to remove completed items from
repeat with eachList in theList
tell application "Reminders"
-- Loop thru reminders in the targeted reminder.app list
tell list eachList
set theTasks to every reminder
repeat with theTask in theTasks
if theTask is completed then
delete theTask
end if
end repeat
end tell
end tell
end repeat
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment