Update (July 2, 2013) Dropbox accounts created after October 4, 2012 no longer have a Public folder. Click for details and instructions on how to enable it.
Update (Jan 29, 2012) Updated DBUpload with a new app that allows you to upload text straight to Dropbox.
Update (Jan 14, 2012) I've released an updated version that copies short URLs (uses http://is.gd) to the clipboard. See below for details.
I've developed a couple of AutoHotkey scripts that allow you to quickly upload files and screenshots to Dropbox. This is my alternative to Droplr, an application that I've been using for a long time (originally Windroplr) but have never been happy with.
There are two independent scripts, DBScreenshot and DBUpload. DBScreenshot is a tool that allows you to select a rectangular region of the screen and saves the screenshot to the Dropbox Public folder. The URL to the screenshot is then copied to the clipboard. Similarly, DBUpload uploads files that drag-and-drop into a drop box that pops up on the screen. You can even upload multiple files at once and have all of the URLs copied to the clipboard.
How easy is that?
I have the following shortcuts setup in my AHK Keyboard Shortcuts script:
;DBScreenshot and DBUpload PRINTSCREEN:: run %A_ScriptDir%\DBScreenshot.exe #w:: run %A_ScriptDir%\DBUpload.exe #c:: run %A_ScriptDir%\DBPaste.exe
This maps the
PrintScreen button to DBScreenshot,
Win+w to DBUpload, and
Win+c to DBPaste.
If you do not already have a script for such shortcuts, I've included one in the download. Simply run Shortcuts.exe and these shortcuts will work for you.
Includes compiled binaries and source.
Before you can use DBUpload, you have to set some values in the
First head over to your Public Folder. Select a file and from the menu click on Copy Public Link. You will see a URL that looks something like
http://dl.dropbox.com/u/33076/... The series of numbers is your User ID.
Public Folder Location
Next, browse your Dropbox folder on your computer and copy the path to the Public folder.
settings.ini file should look something like this:
[Config] UserId=33076 PublicFolder=C:\Users\Sachleen Sandhu\Dropbox\Public ShortenUrls=true
PublicFolder does not have a trailing slash.
If set to true,
ShortenUrls paramater causes the script to shorten the public URLs using http://is.gd before copying them to the clipboard.