开起终端机
关闭阴影
提醒:经测试发现,无论是关闭还是开启阴影,只要输入指令步骤1即可,不需要步骤2(保险起见两个步骤都输入亦可)
1.defaults write com.apple.screencapture disable-shadow -bool true
2.killall SystemUIServer
defaults write com.apple.screencapture disable-shadow -bool true
killall SystemUIServer
开启阴影
1.defaults write com.apple.screencapture disable-shadow -bool false
2.killall SystemUIServer
defaults write com.apple.screencapture disable-shadow -bool false
killall SystemUIServer
利用按键
利用按键,字面上来说就是搭配按键来达到关闭阴影效果,这个部分是属于暂时性的,好处是可任意控制阴影的需求,缺点则是要记住按键位置。我们都知道command ⌘ + Shift + 4 可框选想要的范围,或者+Space 空白键可截图当前视窗,因此只要后面再+ Option(按住不放),就可达到暂时去除阴影的效果