How do I use screencapture for capturing floating windows?
I wrote a command line utility that wraps over screencapture and the Quartz windowing library.

Grab it here: https://github.com/thismachinechills/pyscreencapture

Use it like this:

./screencapture.py Skype -t Current Call -w all_windows above_window