如何OS X在我的Mac桌面上截图

时间:2020-01-09 10:43:49  来源:igfitidea点击:

如何使用Mac OS X在macbook pro/mini桌面上截图?

快门应用程序在Apple OS X或者基于Apple的系统上不可用。
但是,您可以为屏幕拍照(屏幕截图)。
它们使用Mac OS X键盘快捷键保存为文件在桌面上,或者将屏幕快照放在剪贴板中。
无需下载和安装付费应用程序。
您可以使用以下键盘快捷键进行捕获:

  • 整个屏幕/桌面。
  • 屏幕/桌面的一部分。
  • 菜单或者工具栏的一部分。

请注意,您也可以使用Grab应用程序截屏。

如何拍摄整个屏幕的照片?

您需要按住Command()并同时按Shift和3键:

Command (⌘)-Shift-3

屏幕快照的图片以以下格式另存为桌面上的文件,即文件名如下:

Screen Shot 2013-08-09 at 2.57.32 PM

如何拍摄部分屏幕图片?

您需要按住Command()并同时按Shift和4键:

Command (⌘)-Shift-4

确保拖动十字准线(X)指针以选择区域。
继续按鼠标按钮,释放键,然后在拖动以调整选择区域大小的同时按Shift,Option或者空格键。
准备拍照时,松开鼠标按钮。

注意:要取消,请在释放鼠标按钮之前按Escape键。

默认的屏幕截图格式设置为.png文件。

screencapture命令

您可以在终端上使用" screencapture"命令从屏幕上捕获镜像并将其保存到文件或者剪贴板中。
语法为:

screencapture /path/to/file.jpg
screencapture [option] /path/to/file.jpg

以下命令将捕获整个桌面并将其保存到~/Desktop/my-shot-1.png文件中:

screencapture ~/Desktop/my-shot-1.png

要查看您的screenshotp,请转到桌面或者在终端上执行以下命令:

open ~/Desktop/my-shot-1.png

传递-c选项以强制屏幕捕获进入剪贴板:

screencapture -c

command()-v将屏幕截图粘贴到您的办公室或者照片编辑应用程序中。
传递-i选项以按选择或者窗口交互式捕获屏幕。
控制键将使屏幕截图转到剪贴板。
空格键将在鼠标选择和窗口选择模式之间切换。
退出键将取消交互式屏幕截图:

screencapture -i ~/Desktop/my-shot-1.png

以下是所有受支持的选项的列表:

-c      Force screen capture to go to the clipboard.

     -C      Capture the cursor as well as the screen.  Only allowed in non-interactive modes.

     -i      Capture screen interactively, by selection or window.  The control key will cause the screen shot to go to the clipboard.  The space key will
             toggle between mouse selection and window selection modes.  The escape key will cancel the interactive screen shot.

     -m      Only capture the main monitor, undefined if -i is set.

     -M      Open the taken picture in a new Mail message.

     -o      In window capture mode, do not capture the shadow of the window.

     -P      Open the taken picture in a Preview window.

     -s      Only allow mouse selection mode.

     -S      In window capture mode, capture the screen instead of the window.

     -t       Image format to create, default is png (other options include pdf, jpg, tiff and other formats).

     -T       Take the picture after a delay of , default is 5.

     -w      Only allow window selection mode.

     -W      Start interaction in window selection mode.

     -x      Do not play sounds.

     -a      Do not capture attached windows.

     -r      Do not add screen dpi meta data to captured file.