Is it possible to take simultaneous screenshots of two windows?
You could use Layers - it screenshots the entire screen but saves each object in a separate layer. You then export to PSD or a set of .png (or .tiff) images