Advertisement
Patashu

Untitled

Aug 23rd, 2021
51
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.55 KB | None | 0 0
  1. #NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
  2. SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
  3. SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.
  4.  
  5. ; see drain storm notes.txt for the 'history' of this infamously challenge to write script
  6.  
  7. F12::Suspend
  8.  
  9. Numpad1::NumpadEnd
  10. Numpad2::NumpadDown
  11. Numpad3::NumpadPgDn
  12. Numpad4::NumpadLeft
  13. Numpad5::NumpadClear
  14. Numpad6::NumpadRight
  15. Numpad7::NumpadHome
  16. Numpad8::NumpadUp
  17. Numpad9::NumpadPgUp
  18.  
  19. NumpadEnd::
  20. {
  21. ; MsgBox Hi2
  22. Send {LShift down}
  23. Send {RShift down}
  24. Send {NumpadEnd}
  25. Send {RShift up}
  26. return
  27. }
  28.  
  29. NumpadDown::
  30. {
  31. Send {LShift down}
  32. Send {RShift down}
  33. Send {NumpadDown}
  34. Send {RShift up}
  35. return
  36. }
  37.  
  38. NumpadPgDn::
  39. {
  40. Send {LShift down}
  41. Send {RShift down}
  42. Send {NumpadPgDn}
  43. Send {RShift up}
  44. return
  45. }
  46.  
  47. NumpadLeft::
  48. {
  49. Send {LShift down}
  50. Send {RShift down}
  51. Send {NumpadLeft}
  52. Send {RShift up}
  53. return
  54. }
  55.  
  56. ; NumpadClear::
  57. ; {
  58. ; Send {LShift down}
  59. ; Send {RShift down}
  60. ; Send {NumpadClear}
  61. ; Send {RShift up}
  62. ; return
  63. ; }
  64.  
  65. NumpadRight::
  66. {
  67. Send {LShift down}
  68. Send {RShift down}
  69. Send {NumpadRight}
  70. Send {RShift up}
  71. return
  72. }
  73.  
  74. NumpadHome::
  75. {
  76. Send {LShift down}
  77. Send {RShift down}
  78. Send {NumpadHome}
  79. Send {RShift up}
  80. return
  81. }
  82.  
  83. NumpadUp::
  84. {
  85. Send {LShift down}
  86. Send {RShift down}
  87. Send {NumpadUp}
  88. Send {RShift up}
  89. return
  90. }
  91.  
  92. NumpadPgUp::
  93. {
  94. Send {LShift down}
  95. Send {RShift down}
  96. Send {NumpadPgUp}
  97. Send {RShift up}
  98. return
  99. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement