Last active
December 18, 2015 08:48
-
-
Save waynezhang/5756493 to your computer and use it in GitHub Desktop.
Save Current URL To Reminders
This file contains 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
tell application "Safari" | |
set theTitle to name of current tab of front window | |
set theURL to URL of current tab of front window | |
end tell | |
tell application "Reminders" | |
tell default list | |
make new reminder with properties {name:theTitle, body:theURL} | |
end tell | |
end tell |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment