Skip to content

Instantly share code, notes, and snippets.

@SangsooNam
Last active January 1, 2016 21:32
Show Gist options
  • Save SangsooNam/588aff22906c698374d5 to your computer and use it in GitHub Desktop.
Save SangsooNam/588aff22906c698374d5 to your computer and use it in GitHub Desktop.
AppleScript to add a selected text as a new item in Wunderlist3
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