- set pastieURL to "http://pastie.org/pastes"
- try
- 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}")
- set the clipboard to responseURL
- end try