Advertisement
Skylinestar

Remote autohotkey

Apr 8th, 2022
45
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.11 KB | None | 0 0
  1. #NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
  2. ; #Warn ; Enable warnings to assist with detecting common errors.
  3. SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
  4. SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.
  5.  
  6. Browser_Home::
  7. Send, !{F4}
  8. return
  9.  
  10. Volume_Up::
  11. Send, {Media_Next}
  12. return
  13.  
  14. Volume_Down::
  15. Send, {Media_Prev}
  16. return
  17.  
  18. #IfWinActive ahk_exe qemu-system-x86_64.exe
  19. Escape::
  20. Send, ^{Backspace}
  21. return
  22.  
  23. AppsKey::
  24. Send, ^m
  25. return
  26. #IfWinActive
  27.  
  28. #IfWinActive ahk_exe mpc-be64.exe
  29. Enter::
  30. Send, {Media_Play_Pause}
  31. return
  32.  
  33. AppsKey::
  34. Send, !{Enter}
  35. return
  36.  
  37. Esc::
  38. Send, {Media_Play_Pause}
  39. return
  40. #IfWinActive
  41.  
  42. #IfWinActive ahk_exe winamp.original
  43. Enter::
  44. Send, {Media_Play_Pause}
  45. return
  46.  
  47. Up::
  48. Send, {Media_Prev}
  49. return
  50.  
  51. Down::
  52. Send, {Media_Next}
  53. return
  54.  
  55. Esc::
  56. Send, {Media_Play_Pause}
  57. return
  58. #IfWinActive
  59.  
  60. #IfWinActive ahk_exe msedge.exe
  61. Esc::
  62. Send, {Media_Play_Pause}
  63. return
  64.  
  65. AppsKey::
  66. Send, f
  67. return
  68. #IfWinActive
  69.  
  70. SetTitleMatchMode, 2
  71. #IfWinActive, YouTube
  72. z::x
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement