Advertisement
congdantoancau

Printscreen to mute when ScrollLock is on

Dec 12th, 2017
281
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ~printscreen::
  2.  GetKeyState, state, ScrollLock, T ; state will be 'D' if ScrollLock is on (down) or 'U' if it is off (up)
  3.    if ( state = "U" )
  4.     send {volume_mute}
  5. return
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement