Skip to content

Instantly share code, notes, and snippets.

@oliveratgithub
Last active November 13, 2015 16:37
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save oliveratgithub/ed7102bd1fb1653c45e7 to your computer and use it in GitHub Desktop.
Save oliveratgithub/ed7102bd1fb1653c45e7 to your computer and use it in GitHub Desktop.
AppleScript to add a Text selection as a new Reminder to Wunderlist
on run {input, parameters}
-- This code comes from http://raduner.ch/blog/
-- To be used with an Automator Service
-- ------------------------------------------------
tell application "System Events"
keystroke "c" using {command down}
end tell
set inputText to the clipboard as Unicode text
tell application "Wunderlist"
activate
tell application "System Events"
tell process "Wunderlist"
keystroke "i" using {command down, shift down}
keystroke "v" using {command down}
keystroke (ASCII character 3)
end tell
end tell
end tell
return input
end run
@oliveratgithub
Copy link
Author

Updated to be compatible with latest Version of Wunderlist, as pointed out by Mark in the comment here:
http://raduner.ch/blog/automator-service-to-add-task-to-wunderlist/

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