Advertisement
Guest User

Untitled

a guest
Apr 12th, 2019
123
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #Persistent
  2. #SingleInstance force
  3.  
  4. Numpad5:: Reload
  5. Numpad4:: Exit
  6.  
  7. *Numpad1::
  8.  
  9. Loop
  10. {
  11.  
  12. IfWinActive Grim Dawn ahk_class Grim Dawn
  13. {
  14.  
  15.     GetKeyState, RButtonState, Rbutton, P
  16.     if RButtonState = D ; User has physically released the button, so end the loop.
  17.     {
  18.     Send {f down}
  19.     }
  20.     else
  21.     {  
  22.     Send {f up}
  23.     }
  24.     Sleep 100
  25. }
  26. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement