You can access screencapture via the shell:
screencapture -i -c
will make an interactive (rectangular selection) screenshot and copy it to the clipboard.
For more options type man screencapture
in the Terminal.
For a working macro example that uses that shell command see my Enhanced Screenshot macro.