Adium
Dock Icons Emoticons Contact List Styles Message Styles Sound Sets AppleScripts Status Icons Service Icons Menu Bar Icons Plugins Miscellaneous All
pastebin

pastebin

Submitted By phriedrich

Description

This script sends the current copy'n'paste-buffer of OS X to pastebin.com and returns the URL for the paste.
Just type "/pastebin" in a chat window and the resulting URL will appear in the chat.

Changes

The changes in version 0.3:
  • now works without ClientForm (results in much smaller size of the bundle)
  • restructuring of the python part allows better reusability
  • "/pastebin_as {pyhton}" can be used as a synonym for "/fpastebin {python}"


The changes in version 0.4:
Works again with new design of pastebin.com.

The changes in version 0.5:
Small fix to fit pastebin's recent changes

Comments

You can reply to individual comments by clicking the "Reply" link next to each.

# by bittin on 10/04/08 at 19:10:16

Always nice to have =)

# by Snupt on 09/26/10 at 16:34:30

Fix for cyrillic:

on substitute()
do shell script "export __CF_USER_TEXT_ENCODING=0x1F5:0x8000100:0x8000100; pbpaste | python ~/Library/Application\ Support/Adium\ 2.0/Scripts/pastebin.AdiumScripts/Contents/Resources/pastebin.py"
return (result)
end substitute

# by phriedrich on 09/26/10 at 17:33:33

Very nice hint. Haven't tried that, but will include in next version. Thanks!

# by Snupt on 09/26/10 at 17:38:35

You are welcome :)

# by mathuaerknedam on 03/25/11 at 14:58:02

Any chance you'd be interested in making a version for gist.github.com?

# by phriedrich on 03/25/11 at 15:26:50

I have never thought about, but yes, why not.
I'll have a look at this next week, and shouldn't be too difficult, but I wont promise anything. ;)

# by phriedrich on 04/11/11 at 13:18:30

Finished it today, but it's still „Pending Approval“. Meanwhile you can get it on my page: http://phriedrich.de/index.php?module...ew;0003.xml;

# by phriedrich on 04/11/11 at 13:18:47

Finished it today, but it's still „Pending Approval“. Meanwhile you can get it on my page: http://phriedrich.de/index.php?module...ew;0003.xml;

# by phriedrich on 04/14/11 at 02:00:26

# by mathuaerknedam on 04/14/11 at 02:02:00

Thanks!

Post a New Comment

You must be logged in to post comments.

Install | Download
7.31kb (918 downloads)

12345
4.80 / 17 votes
Current Version: 0.5
Last Updated: 04/11/11