Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Add selected Text as new Reminder in
on run {input, parameters}
-- This code comes from
-- 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

This comment has been minimized.

Copy link
Owner Author

@oliveratgithub oliveratgithub commented Jul 20, 2014

AppleScript massively simplified by using the 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