Sub topic 4
Capture a single window
This chapter assumes you already know the full-screen shortcut (Shift-Command-3) and the selection shortcut (Shift-Command-4). It builds on the selection shortcut, because window capture is a mode of that same tool.
How window capture works
A window capture saves one window as an image. It leaves out the desktop, the menu bar, and any other windows that overlap it. The image also includes a soft drop shadow around the window, and the shadow area is transparent.
You start from the selection shortcut and then switch modes. The steps below show the order.
- Press Shift-Command-4. The pointer turns into a crosshair.
- Press the Space bar. The crosshair turns into a camera icon.
- Move the camera over a window. The window is highlighted in a translucent color.
- Click the window. The screenshot is saved.
Press Escape at any point to cancel.
Useful variations
Hold these keys while you click to change the result.
| Key held | Effect |
|---|---|
| Option | Removes the drop shadow from the saved image |
| Control | Copies the capture to the clipboard instead of saving a file |
| Control and Option | Copies a shadow-free capture to the clipboard |
Press Space again before you click to go back to the crosshair. This is useful if you pressed Space by mistake and want to select an area instead.
Windows you can and cannot capture
The camera highlights whatever is under the pointer. This can include more than ordinary app windows.
- The Dock, the menu bar, and open menus can be highlighted and captured.
- A window that is partly covered is captured whole. The covered part is included, so you do not need to bring it to the front first.
- A window that is minimized, or on another Space, cannot be selected. Bring it onscreen first.
If the captured image is missing content, such as a black rectangle where a video or protected document should be, the app is blocking capture. That is a limit of the app, not a fault in your shortcut.
Using the Screenshot toolbar instead
The same feature is in the Screenshot toolbar (Shift-Command-5). Choose Capture Selected Window, then move the pointer over a window and click it. Open Options in the toolbar to turn on a timer. A timer lets you open a menu or tooltip first. After the delay, the capture happens with the menu still open.
Common errors
- The camera never appears. The Space bar was pressed before the crosshair appeared, or a text field had keyboard focus. Press Escape, then start again from Shift-Command-4.
- The image has a gray or transparent border. This is the drop shadow. Hold Option when you click to remove it.
- You get a selection instead of a window. You are still in crosshair mode. Press Space once to switch to the camera.
- Nothing is saved. Control may have been held, which sends the image to the clipboard. Paste with Command-V to check.
Exercise
You want a screenshot of a Safari window with no drop shadow, copied to the clipboard so you can paste it into an email. Which keys do you press, and in what order?
Show answer
Press Shift-Command-4, then press Space to switch to the camera. Hold Control and Option, then click the Safari window. Control sends the image to the clipboard, and Option removes the shadow. Paste it with Command-V.
Exercise
A menu is open in an app, and you want a window screenshot that includes it. Why might a normal window capture fail, and what can you do?
Show answer
Pressing the keys or moving the pointer can close the menu. Use the Screenshot toolbar (Shift-Command-5), choose Capture Selected Window, and set a timer in Options. Open the menu, wait for the delay to finish, and the menu is captured.