Last active
January 1, 2016 21:32
-
-
Save SangsooNam/588aff22906c698374d5 to your computer and use it in GitHub Desktop.
AppleScript to add a selected text as a new item in Wunderlist3
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
on run {input, parameters} | |
tell application "System Events" | |
keystroke "c" using {command down} -- Copy | |
end tell | |
tell application "Wunderlist" | |
activate | |
tell application "System Events" | |
tell process "Wunderlist" | |
keystroke "n" using {command down} -- Add New Item | |
keystroke "v" using {command down} -- Paste | |
keystroke (ASCII character 3) -- Enter | |
end tell | |
end tell | |
end tell | |
end run |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment