Snowleopard 截屏

转自:http://www.cnblogs.com/tyrant/archive/2010/06/09/1754737.html

Snowleopard 截屏

 

 

忽然发现截屏不好使了!! ctrl-shift-cmd-3/4,都没效果!尝试了改defaults read com.apple.screencapture 居然什么都没有- -!问题还没解决,先记下! 

不过塞翁失马焉知非福阿,HOHO,发现了个更方便的小东西! 

其实截屏是有cli的,/usr/sbin/screencapture,可以man screencapture 看具体参数,截屏最常用的其实就是:       

  • screencapture /my/path 截全屏,另存为文件/my/path! 
  • screencapture -i /my/path 自定义选取
  • screencapture -w /my/path 窗口选择模式

若想存入剪切板而不是文件,搭配参数c即可,如

  • screencapture -c
  • screencapture -ci
  • screencapture -cw

 

使用方法详情:

 

01usage: screencapture [-icMPmwsWxSCUto] [files]
02  -c         force screen capture to go to the clipboard
03  -C         capture the cursor as well as the screen. only in non-interactive modes
04  -d         display errors to the user graphically
05  -i         capture screen interactively, by selection or window
06               control key - causes screen shot to go to clipboard
07               space key   - toggle between mouse selection and
08                             window selection modes
09               escape key  - cancels interactive screen shot
10  -m         only capture the main monitor, undefined if -i is set
11  -M         screen capture output will go to a new Mail message
12  -o         in window capture mode, do not capture the shadow of the window
13  -P         screen capture output will open in Preview
14  -s         only allow mouse selection mode
15  -S         in window capture mode, capture the screen not the window
16  -t<format> image format to create, default is png (other options include pdf, jpg, tiff and other formats)
17  -T<seconds> Take the picture after a delay of <seconds>, default is 5
18  -w         only allow window selection mode
19  -W         start interaction in window selection mode
20  -x         do not play sounds
21  files   where to save the screen capture, 1 file per screen
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 1
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值