man screencapture
... and press the <return> key; or,
screencapture -h
... and press the <return> key.
Once you have decided how to utilize 'screencapture' place ...
do shell script "screencapture ..."
... within your specific AppleScript code - which calls 'screencapture' every n seconds over period y (where 'x' and 'y' are specific to your needs).