Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on toggleMute()
- set _muted to (get (output muted of (get volume settings)))
- if _muted is false then
- set volume with output muted
- else
- set volume without output muted
- end if
- end toggleMute
- toggleMute()
- tell application "PandaBar"
- activate
- end tell
- delay 5
- tell application "System Events" to key code 100 using command down
- toggleMute()
Add Comment
Please, Sign In to add comment