Automatic screenshot sharing via DropBox on a Mac
A new small Mac app has been getting a bit of attention lately called TinyGrab. Its function is really straight-forward; it intercepts screen grabs you make and uploads them to its webserver for public sharing. Very nice little idea actually, and whenever I’ve needed to solve this task I’ve just used DropBox, which I am absolutely in love with (my DropBox referral link if you don’t have a free account yet).
So I got thinking, how can I automate this for my needs? First of all, I don’t want all my screenshots going up to DropBox, but I do want the ability to easily add them. A right-click option to “Send to DropBox” would be perfect. 10 seconds of Googling reveals Post to Dropbox Service by Oliver Stengele. It does exactly what I wanted… and why I hadn’t thought of looking for it before today is beyond me.
I made some quick adjustments; since I always wanted these sent to a subfolder called “Screenshots” I simply created it inside my Public DropBox folder.

Addendum: I had a note here about changing your dropbox id to include “/screenshots” after it, but that isn’t needed with the new workflow files.
After the files are downloaded (there are 2 *.workflow files included, just move them into ~/Library/Services/) you’ll need to edit them to include your user id. This is where the path for DropBox comes from, so instead of making mine:
dropbox_id = '906310'
Make it:
dropbox_id = 'whatever your dropbox id is'
Addendum: I also changed the “Copy Finder Items” folder to “screenshots” in Automator. If you want to save yourself the trouble, here are my revised scripts (DropBox_tools.zip). Please note that you must change the “dropbox_id” line above in each to get it working. Do do that, just double-click on the workflow and it’ll open in automator. Then edit away!
And now anytime I’m ready to share a screenshot, I right click it and it is automatically moved into DropBox for me, and the URL is automagically copied to my clipboard.

Handy!

Rui Andrada wrote on
Good tip.
I’ll do on my linux machine soon…
thanks.