Advertisement
Siampuuh

doot.ahk

Mar 22nd, 2021
1,770
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. $1::
  2. {
  3.     KeyWait, 1
  4.     KeyWait, 1, D T.075
  5.     If (ErrorLevel = 0)
  6.     {
  7.         Send 5
  8.     }
  9.     Else If (ErrorLevel = 1) {
  10.     Send 1
  11.     }
  12.     Return
  13. }
  14. return
  15.  
  16. $2::
  17. {
  18.     KeyWait, 2
  19.     KeyWait, 2, D T.075
  20.     If (ErrorLevel = 0)
  21.     {
  22.         Send 7
  23.     }
  24.     Else If (ErrorLevel = 1) {
  25.     Send 2
  26.     }
  27.     Return
  28. }
  29. return
  30.  
  31. $3::
  32. {
  33.     KeyWait, 3
  34.     KeyWait, 3, D T.075
  35.     If (ErrorLevel = 0)
  36.     {
  37.         Send 6
  38.     }
  39.     Else If (ErrorLevel = 1) {
  40.     Send 3
  41.     }
  42.     Return
  43. }
  44. return
  45.  
  46. $4::
  47. {
  48.     KeyWait, 4
  49.     KeyWait, 4, D T.075
  50.     If (ErrorLevel = 0)
  51.     {
  52.         Send 8
  53.     }
  54.     Else If (ErrorLevel = 1) {
  55.     Send 4
  56.     }
  57.     Return
  58. }
  59. return
  60.  
  61. ^F10::
  62. ExitApp
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement