Skip to content

Instantly share code, notes, and snippets.

@visualkom
Last active December 5, 2019 16:03
Show Gist options
  • Save visualkom/f4261c6c68120f0cd21074bb529f65e4 to your computer and use it in GitHub Desktop.
Save visualkom/f4261c6c68120f0cd21074bb529f65e4 to your computer and use it in GitHub Desktop.
[Taking Screenshots in Mac OS X] (from http://guides.macrumors.com/Taking_Screenshots_in_Mac_OS_X) #mac
Shortcuts
---------------------------------------------------
Command-Shift-3: Take a screenshot of the screen, and save it as a file on the desktop
Command-Shift-4, then select an area: Take a screenshot of an area and save it as a file on the desktop
Command-Shift-4, then space, then click a window: Take a screenshot of a window and save it as a file on the desktop
Command-Control-Shift-3: Take a screenshot of the screen, and save it to the clipboard
Command-Control-Shift-4, then select an area: Take a screenshot of an area and save it to the clipboard
Command-Control-Shift-4, then space, then click a window: Take a screenshot of a window and save it to the clipboard
The following keys can be held down while selecting an area (via Command-Shift-4 or Command-Control-Shift-4):
Space, to lock the size of the selected region and instead move it when the mouse moves
Shift, to resize only one edge of the selected region
Option, to resize the selected region with its center as the anchor point
Screenshot settings can be changed via the Terminal
---------------------------------------------------
Location to save screenshots (location)
defaults write com.apple.screencapture location ~/Desktop
killall SystemUIServer
Filename prefix for screenshots (name)
defaults write com.apple.screencapture name "Screenshot"
killall SystemUIServer
Screenshot format (type)
defaults write com.apple.screencapture type jpg
killall SystemUIServer
Whether screenshots of windows should show shadows (disable-shadow)
defaults write com.apple.screencapture disable-shadow -bool false
killall SystemUIServer
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment