Created
June 4, 2022 19:41
-
-
Save MessiDaGod/9f60ed318d4cfbf84ebab27dfb81d447 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set dateObj to (current date) | |
set theMonth to month of dateObj as number | |
set theDay to day of dateObj | |
set theYear to year of dateObj | |
set dateStamp to "" & theMonth & theDay & theYear | |
dateStamp | |
set dFolder to "~/Documents/MoveCU/ScreenCaptures/" & dateStamp & "/" | |
do shell script ("mkdir -p " & dFolder) | |
set i to 0 | |
repeat 960 times | |
do shell script ("screencapture -D1 -R 0,0,3000,1930 " & dFolder & "Screenshots-" & dateStamp & "_" & i & ".png") | |
delay 600 -- Wait for 10 minutes | |
set i to i + 1 | |
end repeat | |
return input | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment