To follow up on previous advice on controlling how macOS takes screenshots, as described in “How to take better screenshot selections in macOS,” you can also choose to include or exclude a border and drop shadow when you just want to grab a window.
A thin border is supplemented in these screenshots by a drop shadow that provides contrast against a background. That’s a faux-real or skeuomorphic effect, as if a window is floating and casting a diffuse shadow, but it does make the window pop out more effectively when including it in documentation or an email.
macOS puts those elements in by default when you use the Command-Shift-4 keyboard shortcut and then press the spacebar while hovering over a window or menu to select it, and then clicking your mouse or trackpad or pressing Enter or Return.
You can remove the border and drop shadow by holding down the Option key while clicking. This lets you retain it when you want and disable it otherwise.
If you never want a border and drop shadow, you can use the Terminal to make that change permanent. Open Applications > Utilities > Terminal and then copy and paste each of these lines in turn:
defaults write com.apple.screencapture disable-shadow true
killall System UIServer
You can reverse that by swapping
false in the line above and pasting in that line and the next again.
The downside of this change is that you can’t retain the border while getting rid of the drop shadow, which is useful for light-colored windows or those with white edges. If you place the image into other software, you can typically set a border for it, as in Pages. Or, you can get an inexpensive photo editor, like Pixelmator or GraphicConverter, which makes it easy to add a bitmap border around the edge of an image.
Ask Mac 911
We’ve compiled a list of the questions we get asked most frequently along with answers and links to columns: read our super FAQ to see if your question is covered. If not, we’re always looking for new problems to solve! Email yours to firstname.lastname@example.org including screen captures as appropriate, and whether you want your full name used. Not every question will be answered, we don’t reply to email, and we cannot provide direct troubleshooting advice.