capture
Get Version
0.0.2→ ‘capture’
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.
Installing
sudo gem install capture
Usage
$> capture [options]
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.
Code
The trunk repository is svn://rubyforge.org/var/svn/capture/trunk for anonymous access.
RDocs API is also available.
Requirements
Mac OS X Leopard (ie 10.5.x). RubyCocoa (Mac OS X Leopard includes RubyCocoa by default).
License
This code is free to use under the terms of the MIT license.
Contact
Comments are welcome. Send an email to Marcus Crafter
Credits
Special thanks to DSevilla for the camera image used in the project licensed under creative commons.
Marcus Crafter, 19th January 2008
Theme extended from Paul Battley