Screen capture on Mac?
Posted by dock
December 5th, 2008 9:31 am
Ludum Dare 22 :: December 16th-19th, 2011 :: Theme: Alone
[ Results: Top 50 Compo, Jam | Top 25 Categories | View My Entry ]
All posts, images, and comments are owned by their creators.
You could improve the naming convention, but running the following as a Ruby script will do:
loop do
`screencapture #{Time.now.to_i}.png`
sleep 1
end
Oh, and you’d probably want to sleep 60 seconds, not 1.
Or you could just use cron or launchd to run that screencapture command every minute.
Ah, thanks for the responses… but I’m not really sure how to run Ruby scripts on the mac, nor how to run cron jobs on my mac. Sorry! o_o;
Is there any software that does this sort of thing?
how about applescript?
http://www.macosxhints.com/article.php?story=20030115080027106
Ah, the applescript almost works… but only saves one screen! D: I can’t seem to figure out how to fix that.
Or you could use Automator.
Ah, I managed to find a program called InstantShot that works for me. I run two instances of it, and each one is set to take a screenshot of a different monitor once per minute.