+shift+3: This set of shortcut keys allows you to intercept the entire screen and store the screenshot directly on the desktop. The screenshot file starts with "screenshot", followed by the date and time of the screenshot.
+shift+4: This set of shortcut key combination allows you to intercept a part of the screen, the specific size can be used to drag the mouse selection box changes, the same screenshot file will be automatically saved on the desktop. Of course, there are many other screenshot shortcuts in the OS x system, but the two are the most frequently used.
1: Change the screenshot file to save the default folder
After a lot of screenshots, found that the desktop has been chaotic? Then we can transfer the screenshot file to the default location, such as will be in the photo folder to create Screenshots folder, open Terminal application, enter the following command to save the screenshot by default in the Picture folder folder
Defaults write Com.apple.screencapture location ~/pictures/screenshot
After you execute the command, you need to reboot the Systemuiserver to take effect, and the following command can do the operation
Killall Systemuiserver
Quickly cut the picture to try it, to see if the file is not directly saved in the screenshot folder.
2: Change the screenshot of the file format
Screenshot commands will be saved directly by default in PNG format files, but the PNG format file size is very large, if you want to intercept the smaller size of the picture, then the JPG format is very appropriate, the following command can be a screenshot of the image generated by default in JPG format to save:
Defaults write com.apple.screencapture type jpg
Again, you need to reboot the systemuiserver to get the command in effect.
Killall Systemuiserver
In addition, you can change jpg in the command line to other file formats, such as GIF, TIF, and PDF, and change the format to PNG if you want to use the default settings.
3: Through the timing function to complete the high difficulty screenshot
In the System Utilities folder, there is a tool called grab, which allows you to intercept images that are difficult to intercept through the application's timer function. Open Grab application, click on the menu bar "capture" command, and then select "Screen Timing", and then the timer function will be in 10 seconds after the screen capture automatically. If you hold 10 seconds too long or too short, you can change it by the following command, such as setting the timing screenshot to 3 seconds:
Screencapture-t 3 osxdaily.jpg
Changing the 3 on the command line to any number allows the timing function to take a screenshot within the time set.
4: In the screenshot, the mouse pointer or custom pointer is truncated into the diagram
The "grab" application mentioned above also has other useful small functions. In the preferences for drawing applications, select the desired mouse pointer shape. When the selection is good, we can intercept the mouse pointer through the timer function above.
5: Move the screenshot area already selected
With The +shift+4 function, we can take screenshots of what we want on the screen, if we pull out the selection box and the location you want to have some mismatch, then we can by holding down the space bar to change the location of the original selection area.