Skip to Content
Mac OS X in a Nutshell
book

Mac OS X in a Nutshell

by Jason McIntosh, Chuck Toporek, Chris Stone
January 2003
Intermediate to advanced
832 pages
32h 40m
English
O'Reilly Media, Inc.
Content preview from Mac OS X in a Nutshell

Name

screencapture

Synopsis

screencapture [-i [-s | -w | -W] | -m] [-x] { -c | pathname }

Saves the contents of the screen to a PDF file or to the Clipboard. Unless you are using the -i option to start an interactive screen capture, the contents of the entire display are captured.

Options

-c

Saves screenshot to the Clipboard for later pasting.

-i

Initiates interactive screen capture using these keys:

  • The mouse is used to select a region of the screen to capture.

  • Pressing the spacebar toggles between this mouse selection mode and a window selection mode, in which clicking on a window captures the portion of the screen taken up by that window.

  • Pressing the Control key saves the screenshot to the Clipboard.

  • Pressing the Escape key cancels the interactive screen capture.

-m

Captures only the main display, if multiple displays are in use.

-s

Disables window selection mode in an interactive screen capture; only mouse selection is allowed.

-w

Disables mouse selection mode in an interactive screen capture; only window selection is allowed.

-W

Starts an interactive screen capture in window selection mode instead of mouse selection mode.

-x

Disables sound effects.

pathname

The name of a file in which to save the screenshot. You should terminate the filename with a .pdf extension.

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Mac OS X Internals: A Systems Approach

Mac OS X Internals: A Systems Approach

Amit Singh
C++ In a Nutshell

C++ In a Nutshell

Ray Lischner
Linux Shell Scripting Cookbook - Third Edition

Linux Shell Scripting Cookbook - Third Edition

Clif Flynt, Sarath Lakshman, Shantanu Tushar
Optimized C++

Optimized C++

Kurt Guntheroth

Publisher Resources

ISBN: 0596003706Supplemental ContentCatalog PageErrata