4
4

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

OSXのスクリーンショットにドロップシャドウを付けないようにする

Posted at

特定のウィンドウのスクリーンショットの取り方

Command-Shift-4で特定のウィンドウだけのスクリーンショットが取れます。具体的な手順は以下の通りです。

  1. Command-Shift-4を押します。
  2. 対象のウィンドウ内にマウスカーソルを移動します(クリックはしません)。
  3. スペースキーを押します。
  4. マウスカーソルがカメラのアイコンになったら左クリック

が、デフォルトの設定では、スクリーンショットの画像は下記の例のようにウィンドウのまわりにドロップシャドウがついた状態で作成されます。

スクリーンショット 2013-12-26 9.38.50.png

ドロップシャドウをつけないように設定

ドロップシャドウをつけないようにするには、ターミナルで以下のコマンドを実行します。

$ defaults write com.apple.screencapture disable-shadow -bool true
$ killall SystemUIServer

以下のコマンドで状態を確認します。

$ defaults read com.apple.screencapture disable-shadow 
1

となればOKです。

この状態でとったスクリーンショットの例です。
スクリーンショット 2013-12-26 9.45.40.png

元の設定に戻す手順

もし、元の設定に戻したい場合はターミナルで以下のコマンドを実行します。

$ defaults delete com.apple.screencapture disable-shadow
$ killall SystemUIServer

戻せたかの確認は以下のようにコマンドを実行して"does not exist"と表示されればOKです。

$ defaults read com.apple.screencapture disable-shadow 
2013-12-26 09:49:20.283 defaults[90491:707] 
The domain/default pair of (/Users/hnakamur/Library/Preferences/com.apple.screencapture, disable-shadow) does not exist

謝辞

この記事はDisable the Window Shadow on Screen Shots in Mac OS Xを参考にしました。ありがとうございます。

4
4
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
4
4

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?