Skip to content

Instantly share code, notes, and snippets.

@firmread
Forked from jonobr1/auto-capture.scpt
Last active December 26, 2023 22:30
Show Gist options
  • Save firmread/9df5d241cf91e244c023 to your computer and use it in GitHub Desktop.
Save firmread/9df5d241cf91e244c023 to your computer and use it in GitHub Desktop.
set dFolder to "~/Desktop/screencapture/"
do shell script ("mkdir -p " & dFolder)
set i to 0
repeat 960 times
set tTime to do shell script "date +%H%M%S"
do shell script ("screencapture " & dFolder & "frame-" & i & ".png")
delay 30 -- Wait for 30 seconds.
set i to i + 1
end repeat
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment