Mac 的右鍵選單裡有「服務 → 建立含附件的電子郵件」,能把檔案或資料夾直接轉成附件交由 Mail 寄出,相當方便。若你用的是 Sparrow,想複製同樣體驗該怎麼做?以下說明做法。

設定步驟:
1. 下載並安裝 Sparrow(或 Sparrow Lite),然後開啟 Automator。
2. 在選擇文稿類型時挑選「服務」。
3. 把「服務」收到的選定項目設為「檔案或資料夾」,「位於」選「任何應用程式」。
4. 在左側動作清單中找到「執行 AppleScript」,雙擊開啟腳本視窗,貼上以下內容:
on run {input, parameters}
tell application "Sparrow"
activate
set theMessage to make new outgoing message
tell theMessage
repeat with ii in input
make new mail attachment with properties {filename:ii as alias}
end repeat
compose
end tell
end tell
end run
最後把腳本命名並儲存,這個動作就會出現在服務清單裡。
以上就是讓 Sparrow 一鍵把檔案變成附件寄出的做法,有興趣的朋友可以在自己的機器上試著設定。