Advertisement
Sixem

Autohotkey Scripts

Jun 26th, 2015
1,221
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #InstallKeybdHook
  2.  
  3. ;Media Player Hotkeys (Spotify)
  4. +home::Media_Play_Pause
  5. +up::Volume_Up
  6. +down::Volume_Down
  7. +PgUp::Media_Prev
  8. +PgDn::Media_Next
  9.  
  10. #!u UP::Shutdown, 9 ;power off
  11. #!r UP::Shutdown, 3 ;restart
  12. #!s UP::DllCall("PowrProf\SetSuspendState", "int", 0, "int", 0, "int", 0) ;sleep
  13. #!h UP::DllCall("PowrProf\SetSuspendState", "int", 1, "int", 0, "int", 0) ;hibernate
  14.  
  15. #x::
  16. Run X:\
  17. return
  18. #e::
  19. Run E:\
  20. return
  21. #f::
  22. Run F:\
  23. return
  24. #d::
  25. Run F:\Downloads
  26. return
  27. #a::
  28. Run F:\Archive
  29. return
  30. #n::^+n
  31. #r::f2
  32. #q::
  33. FileRecycleEmpty
  34. return
  35. #+v::
  36. SendRaw, %Clipboard%
  37. return
  38.  
  39. ;Toggle Hotkeys
  40. F6::
  41. Suspend,Toggle
  42. return
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement