Advertisement
Guest User

Untitled

a guest
Aug 22nd, 2019
98
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.73 KB | None | 0 0
  1. #SingleInstance force
  2. #NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
  3. ; #Warn ; Enable warnings to assist with detecting common errors.
  4. SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
  5. SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.
  6.  
  7. ; to support cmd-like commands
  8. $LAlt::LCtrl
  9. LCtrl::LAlt
  10.  
  11. ; media actions without fn
  12.  
  13. ^F7::
  14. SendInput, {F7}
  15. Return
  16. $F7::Media_Prev
  17.  
  18. ^F8::
  19. SendInput, {F8}
  20. Return
  21. $F8::Media_Play_Pause
  22.  
  23. ^F9::
  24. SendInput, {F9}
  25. Return
  26. $F9::Media_Next
  27.  
  28. ^F10::
  29. SendInput, {F10}
  30. Return
  31. $F10::Send {Volume_Mute}
  32.  
  33. ^F11::
  34. SendInput, {F11}
  35. Return
  36. $F11::Send {Volume_Down 1}
  37.  
  38. ^F12::
  39. SendInput, {F12}
  40. Return
  41. $F12::Send {Volume_Up 1}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement