Guest User

Untitled

a guest
Nov 17th, 2017
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.83 KB | None | 0 0
  1. ; Allows for using the basic number pad (with NumLock off) as Media Keys, for keyboards without them.
  2.  
  3. #NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
  4. #SingleInstance force ; restarts program
  5. ; #Warn ; Enable warnings to assist with detecting common errors.
  6. SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
  7. SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.
  8.  
  9. NumpadLeft:: ; Back
  10. Send, {Media_Prev}
  11. Return
  12.  
  13. NumpadClear:: ; Play-Pause
  14. Send, {Media_Play_Pause}
  15. Return
  16.  
  17. NumpadRight:: ; Forward
  18. Send, {Media_Next}
  19. Return
  20.  
  21. NumpadUp:: ; Volume Up
  22. Send, {Volume_Up}
  23. Return
  24.  
  25. NumpadHome:: ; Launch Media Player
  26. Send, {Launch_Media}
  27. Return
  28.  
  29. NumpadDown:: ; Volume Down
  30. Send, {Volume_Down}
  31. Return
  32.  
  33. NumpadEnd:: ; Mute
  34. Send, {Volume_Mute}
  35. Return
Add Comment
Please, Sign In to add comment