cmdline screenshots in OSX

Geekology describes a nice osx builtin command to create screen captures: screencapture. I wanted to create a screenshot of a mouse interaction. That requires some sort of a delay after initiating the capture. The “-T” option described facilitates this. It looks like the -T option is missing in the tiger version of this utility. Of course you can use ‘sleep’ to wait a couple of seconds:

$ sleep 5;screencapture -C ~/Desktop/screenshot.png

See also my previous post on screenshots.

One Response to “cmdline screenshots in OSX”

  1. WIllem says:

    Thanks for the mention of http://www.geekology.co.za/!

    I was unaware of the missing ‘-T’ option in Tiger, I’ll update my post accordingly crediting you.

Leave a Reply