Start screencapture in terminal, a single character will trigger a screencapture:
function _start_screencapture
{
for n in `seq -f %03g 0 100` ; do
if read -n 1 ; then
screencapture -t png ~/Desktop/capture-${n}.png
echo "Taken " ${n}
fi
done