Profile: Snupt
4 comments | |
0 xtras |
Latest comments
# 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
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 Snupt on 09/26/10 at 14:48:40
For registered bit.ly users:
on substitute()
get the clipboard as text
set theClipboard to the clipboard as text
do shell script ¬
"curl --stderr /dev/null "http://api.bit.ly/v3/shorten?login=YO...OURKEY&uri=" & theClipboard & "&format=txt""
return (result)
end substitute
on substitute()
get the clipboard as text
set theClipboard to the clipboard as text
do shell script ¬
"curl --stderr /dev/null "http://api.bit.ly/v3/shorten?login=YO...OURKEY&uri=" & theClipboard & "&format=txt""
return (result)
end substitute
# by Snupt on 09/28/10 at 13:27:13
Can I fix this?