Created
February 16, 2011 16:21
-
-
Save clauswitt/829648 to your computer and use it in GitHub Desktop.
A short apple script to send contents of the clipboard to gist.github.com (you need to logged in)
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
tell application "Safari" | |
activate | |
open location "http://gist.github.com" | |
end tell | |
delay 1 | |
tell application "System Events" | |
tell process "Safari" | |
keystroke "v" using {command down} | |
end tell | |
end tell |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment