Last active
September 6, 2024 19:20
-
-
Save jonobr1/a91c166a94a65e64c9b7 to your computer and use it in GitHub Desktop.
A small AppleScript to take a screenshot every 30 seconds for 8 hours. Saves to an Image Sequence in a desktop folder. Great for recording your workday.
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 dFolder to "~/Desktop/screencapture/" | |
do shell script ("mkdir -p " & dFolder) | |
set i to 0 | |
repeat 960 times | |
do shell script ("screencapture " & dFolder & "frame-" & i & ".png") | |
delay 30 -- Wait for 30 seconds. | |
set i to i + 1 | |
end repeat |
@frogstomper Did you find a way? :)
I found this project that takes a screenshot every 2 seconds and OCRs them: https://github.com/jasonjmcghee/rem
@frogstomper Did you find a way? :)
No I didn't. Wow, thanks for forwarding that project. I'll check it out!
@jonobr1 , hi. Thanks for the script! It works. Is it possible to take a screenshot of both the main screen and the second connected screen?
@iWindmill based on this answer you should be able to append more file outputs and it'll take from other screens.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thanks so much. Exactly what I need. Now I just need to find a way to automatically OCR every screenshot