How to Screenshot a Specific Window, Menu, or Button on Mac
Capture just one window on a Mac with ⌘⇧4 and Space, remove the window shadow, and go further: screenshot a single panel, button, or menu bar item precisely.
Full-screen screenshots show too much. Most of the time you want one window, one dialog, or one control. Here's how to capture exactly that on a Mac.
Screenshot one window with the built-in tool
- Press ⌘⇧4, then press Space. The pointer turns into a camera.
- Move over the window you want; it highlights.
- Click to capture. The file lands on your Desktop.
Two useful modifiers:
- Hold ⌥ (Option) while clicking to capture the window without its shadow.
- Add ⌃ (Control) to the shortcut (⌃⌘⇧4, then Space) to copy it to the clipboard instead of saving a file.
The full list is on our Mac screenshot shortcuts cheat sheet.
What the built-in tool can't do
Window mode only knows about whole windows. If you want a single sidebar, a toolbar, one button, the Dock, or a menu bar icon, you're back to dragging a crosshair and hoping the edges line up.
Screenshot any UI element with Snapok
Snapok reads the interface under your cursor and outlines the real component:
- Press ⌃⌘A.
- Hover. The highlight fits the window, panel, or button under the pointer, including the Dock and individual menu bar items.
- Scroll up to step out to the parent region, scroll down to step back in. Hold ⌥ for the whole window.
- Click, then press Return or ⌘C to copy, or ⌘S to save.
Element detection uses macOS Accessibility, which you can enable in Snapok's Settings → General → Component Snapping. Without it, window selection and manual dragging still work.
For pixel-precise work, the capture magnifier shows coordinates and the color under the cursor. Nudge the selection with the arrow keys (Shift for 10-point steps), or copy the color as HEX or RGB.
Next steps
Once you have the capture, annotate it right in the overlay, or press ⌘E to add a background and shadow. Snapok is free; here's how it compares with the built-in tool.