Advertisement
Guest User

Untitled

a guest
Nov 22nd, 2017
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.89 KB | None | 0 0
  1. #IfWinActive World of Warcraft
  2. SetKeyDelay, 50 ; Keystroke is sent four times per second
  3. #MaxHotkeysPerInterval 1000 ; Rate of hotkey activations beyond which a warning dialog will be displayed.
  4. ; Increase it to delay the warning message.
  5.  
  6.  
  7. $1::
  8. GetKeyState, state, 1, P
  9. if state = D
  10. Loop
  11. {
  12. Send {1}
  13. return
  14. }
  15.  
  16.  
  17. $2::
  18. GetKeyState, state, 2, P
  19. if state = D
  20. Loop
  21. {
  22. Send {2}
  23. return
  24. }
  25.  
  26. $3::
  27. GetKeyState, state, 3, P
  28. if state = D
  29. Loop
  30. {
  31. Send {3}
  32. return
  33. }
  34. $4::
  35. GetKeyState, state, 4, P
  36. if state = D
  37. Loop
  38. {
  39. Send {4}
  40. return
  41. }
  42.  
  43. $5::
  44. GetKeyState, state, 5, P
  45. if state = D
  46. Loop
  47. {
  48. Send {5}
  49. return
  50. }
  51.  
  52. $f::
  53. GetKeyState, state, f, P
  54. if state = D
  55. Loop
  56. {
  57. Send {f}
  58. return
  59. }
  60.  
  61. $h::
  62. GetKeyState, state, h, P
  63. if state = D
  64. Loop
  65. {
  66. Send {h}
  67. return
  68. }
  69.  
  70. $r::
  71. GetKeyState, state, r, P
  72. if state = D
  73. Loop
  74. {
  75. Send {r}
  76. return
  77. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement