Taking ScreenShots in OsX.

There are several Keyboard ShortCuts (Key Combinations) that can be used to Store Screen-Shots in OsX.

The SystemUIServer process handles these commands.

Shortcuts
Command-Shift-3: Take a screenshot of the screen, and save it as a file on the desktop
Command-Shift-4, then select an area: Take a screenshot of an area and save it as a file on the desktop
Command-Shift-4, then space, then click a window: Take a screenshot of a window and save it as a file on the desktop
Command-Control-Shift-3: Take a screenshot of the screen, and save it to the clipboard
Command-Control-Shift-4, then select an area: Take a screenshot of an area and save it to the clipboard
Command-Control-Shift-4, then space, then click a window: Take a screenshot of a window and save it to the clipboard

Starting from Leopard, the following keys can be held down while selecting an area (via Command-Shift-4 or Command-Control-Shift-4):
Space: to lock the size of the selected region and instead move it when the mouse moves
Shift: to resize only one edge of the selected region
Option: to resize the selected region with its center as the anchor point

On OsX 10.4 Tiger and later screenshots are stored in PNG Format but the default screenshot format can be changed by opening Terminal and typing the following commands:

defaults write com.apple.screencapture type [Image_Format]
killall SystemUIServer

Where [Image_Format] is one of jpg, tiff, pdf, png, bmp or pict (among others).

Instead of using the keyboard shortcuts above, screenshots can be taken by using the Grab application included with OsX.

Starting form OsX 10.4, the Preview application can also be used to take screenshots, by using the Grab sub-menu in the File menu.

The screencapture command in the Terminal can also be used to capture screenshots, and is useful for scripts.

screencapture -iW ~/Desktop/ScreenShot.jpg

Comments are closed.