Guest User

Untitled

a guest
Jan 24th, 2018
135
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. on toggleMute()
  2.     set _muted to (get (output muted of (get volume settings)))
  3.     if _muted is false then
  4.         set volume with output muted
  5.     else
  6.         set volume without output muted
  7.     end if
  8. end toggleMute
  9.  
  10. toggleMute()
  11.  
  12. tell application "PandaBar"
  13.     activate
  14. end tell
  15.  
  16. delay 5
  17.  
  18. tell application "System Events" to key code 100 using command down
  19.  
  20. toggleMute()
Add Comment
Please, Sign In to add comment