2010年8月7日 星期六

Mac上自製靜音按鈕

系統預設裡面找不到靜音的熱鍵,只好自製

功能很簡單,若已經是靜音的狀態再執行一次就會回復
tell application "System Events"
if (output muted of (get volume settings)) is true then
set volume without output muted
else
set volume with output muted
end if
end tell
view raw mute.scpt hosted with ❤ by GitHub

沒有留言: