Skip to content

Instantly share code, notes, and snippets.

@jmk
Created September 11, 2014 22:27
screen capture timelapse script
interval = 60 * 5
import time, os
while (True):
cmd = "/usr/sbin/screencapture -C -t jpg -x %f.jpg" % time.time()
print cmd
os.system(cmd)
time.sleep(interval)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment