Path: website/index.txt
Last Update: Sat Jan 19 15:26:25 +1100 2008

h1. capture

h1. &x2192; ‘capture‘

<p> <img src="images/nikon.jpg" /> </p>

h2. What is it?

Capture is a tool for making a full size screenshot of your Mac OS X desktop. It uses RubyCocoa and the new CGWindow API of Mac OS X Leopard to capture the desktop in a fast and efficient manner.

h2. Installing

<pre syntax="ruby">sudo gem install capture</pre>

h2. Usage

<pre>$> capture [options]</pre>

By default ‘capture’ will save the desktop screenshot to a file named ~/capture.jpg. You can set a target filename using the -o parameter.

Additionally, you can specify a delay parameter via ’-d X’, where ‘capture’ will delay the creation of the screenshot X seconds so that you may hide or re-arrange windows.

During the capture, the desktop screen will fade in and out to provide feedback of the screen capture taking place.

h2. Code

The trunk repository is svn:// for anonymous access. RDocs "API" is also available.

h2. Requirements

Mac OS X Leopard (ie 10.5.x). RubyCocoa (Mac OS X Leopard includes RubyCocoa by default).

h2. License

This code is free to use under the terms of the MIT license.

h2. Contact

Comments are welcome. Send an email to "Marcus Crafter"

h2. Credits

Special thanks to "DSevilla" for the camera image used in the project licensed under "creative commons"