Igor Kromin |   Consultant. Coder. Blogger. Tinkerer. Gamer.

Taking a screenshot of a window in macOS is easy, even if it is a bit of a hand-twister key combination. It's done by by pressing Shift-Command-4 and then Space bar and clicking the window you want to screenshot. If you've got a Mac with the Touch Bar, you can customise it to always display a screenshot shortcut. Both these methods add a 56 pixel shadow to the window you're taking a screenshot of. This shadow may add a cool visual effect to the UI but is a pain to deal with when it's a part of the screenshot. Read on for how to disable it.

If you don't want to make a permanent change to your Mac's configuration, simply hold down the Alt/Option key after pressing Space and clicking on the window. This will disable the shadow for that one screenshot.

Here's what the same window looks like with a shadow and then without.
noshadow2.png

noshadow1.png




If you want to make sure that all window screenshots never include a shadow, open the Terminal App and type these commands in (press enter after each one)...
 Terminal.app
defaults write com.apple.screencapture disable-shadow -bool true
killall SystemUIServer


To restore the default setting use these commands...
 Terminal.app
defaults write com.apple.screencapture disable-shadow -bool false
killall SystemUIServer


That's all there is to it.

-i

Hope you found this post useful...

...so please read on! I love writing articles that provide beneficial information, tips and examples to my readers. All information on my blog is provided free of charge and I encourage you to share it as you wish. There is a small favour I ask in return however - engage in comments below, provide feedback, and if you see mistakes let me know.

If you want to show additional support and help me pay for web hosting and domain name registration, donations, no matter how small, are always welcome!

Use of any information contained in this blog post/article is subject to this disclaimer.
comments powered by Disqus
Other posts you may like...