Skip to content

Instantly share code, notes, and snippets.

View iWindmill's full-sized avatar
🖖

Alec Windmill iWindmill

🖖
View GitHub Profile
@iWindmill
iWindmill / auto-capture.scpt
Created September 6, 2024 18:15
A small AppleScript to take a screenshot every 60 seconds. Saves images with the active application name and window title. Great for recording your workday for self-organization purposes.
-- Thank you, jonobr1 https://gist.github.com/jonobr1/a91c166a94a65e64c9b7
set dFolder to "~/Desktop/screencapture/"
do shell script ("mkdir -p " & dFolder)
global frontApp, frontAppName, windowTitle
set i to 0
repeat 1440 times