Created
March 25, 2013 15:32
-
-
Save sturobson/5237974 to your computer and use it in GitHub Desktop.
Alfred workflow for creating a new todo in Wunderlist how do I run this in the background so I don't lose focus to Wunderlist (if that makes sense)? Essentially running the script in the bacground.
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 alfred_script(q) | |
set the clipboard to q | |
tell application "Wunderlist" to activate | |
tell application "System Events" | |
keystroke "n" using {Command down} --Command-N | |
end tell | |
tell application "System Events" | |
keystroke "v" using {command down} --Command-C | |
end tell | |
tell application "System Events" | |
key code 76 | |
end tell | |
end alfred_script |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment