Last active
February 20, 2025 09:46
-
-
Save oliveratgithub/8677064 to your computer and use it in GitHub Desktop.
Add selected Text as new Reminder in Reminders.app
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
AppleScript massively simplified by using the Reminders.app built-in AppleScript API instead of System Events