Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on May 16th, 2012  |  syntax: None  |  size: 0.31 KB  |  hits: 15  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. set pastieURL to "http://pastie.org/pastes"
  2. try
  3. set responseURL to (do shell script "curl http://pastie.caboo.se/pastes/create -H Expect: -F paste[parser]=plaintext -F paste[body]= & (the clipboard) &  -F paste[authorization]=burger -s -L -o /dev/null -w %{url_effective}")
  4. set the clipboard to responseURL
  5. end try