I found this cool Automator script for OSX that allows you to paste text from your selection to Pastebin.com.
The steps provided in the original article was a bit difficult to follow at first so here is a visual walkthrough how to do it:
Start the Automator application
Create a new “Service” application
Drag a “Run AppleScript” action to the workflow workspace
Paste in the code from https://gist.github.com/761482 into the “Run AppleScript” code window
Then I created a “Copy to Clipboard” action
Then I made sure that the actions are “Service receives selected text in any application” and “Input is entire selection” with “Output replaces selected text” unchecked.
Finally I saved the file as “Pastebin.bin.workflow”.
when you select some text and right-click you get a nice option of sending the selected text to Pastebin.com:
Many thanks to Marc Abramowitz for his very nice blog entry. I haven’t been looking at Automator before but now I think I will automate a lot of tasks in OSX
.
0 comments:
Post a Comment