macOS 內建截圖功能強大且無需安裝軟體。掌握以下核心快捷鍵與進階技巧,即可應付所有螢幕擷取需求。
| 功能 | 快捷鍵 | 備註 |
|---|---|---|
| 全螢幕截圖 | ⌘⇧3 | 儲存至桌面 (預設) |
| 區域截圖 | ⌘⇧4 → 拖曳選取 | 按住 Space/Shift/Option 微調 |
| 視窗截圖 | ⌘⇧4 → Space → 點選視窗 | 含陰影;按 ⌥ 點選去除陰影 |
| 複製到剪貼簿 | 加上 ⌃ (Control) | ⌃⌘⇧3 / ⌃⌘⇧4 / ⌃⌘⇧4+Space |
| 截圖工具列 | ⌘⇧5 | Mojave+ 可視化介面、含錄影 |
| Touch Bar 截圖 | ⌘⇧6 | 僅 Touch Bar 機型 |
# 格式:jpg, png, pdf, tiff, gif
defaults write com.apple.screencapture type jpg
# 關閉視窗截圖陰影
defaults write com.apple.screencapture disable-shadow -bool true
# 自訂儲存資料夾
defaults write com.apple.screencapture location ~/Pictures/Screenshots
# 套用變更
killall SystemUIServer
screencapture 進階用法man screencapture # 完整手冊
screencapture -S ~/Desktop/screen.jpg # 全螢幕含游標
screencapture -iW ~/Desktop/window.png # 互動選視窗
screencapture -ic # 互動區域 → 剪貼簿
screencapture -T 10 -S ~/Desktop/delay.jpg # 10 秒延遲含游標
screencapture -l$(osascript -e 'tell app "Safari" to id of window 1') ~/Desktop/safari.png # 指定 App 視窗 ID
所有截圖預設儲存於桌面 (可自訂),檔名格式:螢幕快照 2024-01-15 上午10.30.45.png。