Enter this in the to have OSX save screenshots to ~/Dropbox/Screenshots/:
defaults write com.apple.screencapture location ~/Dropbox/Screenshots/
or change back to default behavior like so:
defaults write com.apple.screencapture location ~/Desktop/
After running either command, run the following to apply changes:
killall SystemUIServer