Skip to content

Instantly share code, notes, and snippets.

@clauswitt
Created February 16, 2011 16:21
Show Gist options
  • Save clauswitt/829648 to your computer and use it in GitHub Desktop.
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)
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