Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Add selected Text as new Reminder in Reminders.app
on run {input, parameters}
-- This code comes from http://raduner.ch/blog/
-- To be used with an Automator Service
-- ------------------------------------------------
set inputText to input as string
tell application "Reminders"
set newremin to make new reminder
set name of newremin to inputText
end tell
return input
end run
@oliveratgithub

This comment has been minimized.

Copy link
Owner Author

@oliveratgithub oliveratgithub commented Jul 20, 2014

AppleScript massively simplified by using the Reminders.app built-in AppleScript API instead of System Events

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment