Mac OS X 內建的 Screen Shot 熱鍵超好用,不需要安裝其他軟體,就能滿足各種快速抓圖的需求。 Command + Shift + 3 抓取整個螢幕畫面並儲存到桌面 Command + Shift + 4 選擇一個畫面區域後儲存到桌面 Command + Shift + 4、放開、再按空白鍵 選取一個視窗後儲存到桌面 Command + Control + Shift + 3 Command + Control + Shift + 4 Command + Control + Shift + 4、放開、再按空白鍵 功能同上;但多一個 Control 鍵,會儲存到剪貼簿而不直接存檔 如果要抓取整個視窗畫面,多按一個空白鍵切換成視窗選取模式,這樣就不會抓到視窗以外的內容,而且抓圖後還會自動將背景設為透明化、並加上陰影,效果真的非常棒! 對於進階使用者,想要在程式或 Shell Script 中自動抓圖,則可以搭配 Mac OS X 內建的「screencapture」指令: # 直接抓取整個畫面存檔 screencapture ~/screenshot.png # 抓取單一視窗畫面 screencapture -w ~/screenshot.png # 抓取單一視窗畫面、背景不要加陰影 screencapture -ow ~/screenshot.png 其他參數可以參考: -c force screen capture to go to the clipboard -C capture the cursor as well as the screen. only in non-interactive modes -d display errors to the user graphically -i ...
留言
張貼留言