Guest User

Untitled

a guest
Nov 25th, 2018
125
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. thats exactly what i did.  i have the logitech g11 and i have little macro buttons for everything.  
  2.  
  3.     ;audio switch
  4.     !^+s::
  5.       toggle:=!toggle ;toggles up and down states.
  6.   Run, mmsys.cpl
  7.   WinWait,Sound ; Change "Sound" to the name of the window in your local
  8.  
  9. language
  10.   if toggle
  11.     ControlSend,SysListView321,{Down 1} ; This number selects the matching
  12.  
  13. audio device in the list, change it accordingly
  14.   Else
  15.     ControlSend,SysListView321,{Down 2} ; This number selects the matching
  16.  
  17. audio device in the list, change it accordingly
  18.   sleep 100
  19.   ControlClick,&Set Default,Sound,,,,na ; Change "&Set Default" to the name of
  20.  
  21. the button in your local language
  22.   sleep 100
  23.   ControlClick,OK,Sound,,,,na
  24. return
Add Comment
Please, Sign In to add comment