Created
May 31, 2016 05:42
-
-
Save nacyot/936b3510c467d3b1599e0400627617d5 to your computer and use it in GitHub Desktop.
This file contains hidden or 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(keyword) | |
set the clipboard to keyword | |
tell application id "DNtp" | |
activate | |
end tell | |
tell application id "com.apple.systemevents" | |
tell process id "DNtp" | |
keystroke "f" using {shift down, command down} | |
keystroke "v" using {command down} | |
keystroke return | |
end tell | |
end tell | |
end alfred_script |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment