Advertisement
Guest User

Untitled

a guest
Dec 9th, 2019
115
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.88 KB | None | 0 0
  1.  
  2. #SingleInstance Force
  3. #NoEnv
  4. #Warn
  5. SendMode Input
  6. #Persistent
  7. SetWorkingDir %A_ScriptDir%
  8. SetTitleMatchMode, 3
  9. SetMouseDelay, -1
  10. SetControlDelay, -1
  11. #IfWinActive Diablo III
  12.  
  13. #MaxHotkeysPerInterval 99000000
  14. #HotkeyInterval 99000000
  15. #KeyHistory 0
  16. Process, Priority, , H
  17. SetKeyDelay, -1, -1
  18. SetDefaultMouseSpeed, 0
  19. SetBatchLines,-1
  20.  
  21. SetKeyDelay, 0, 10, Play ; Note that both 0 and -1 are the same in SendPlay mode.
  22. SetMouseDelay, 10, Play
  23.  
  24.  
  25. CoordMode, Mouse, Screen
  26.  
  27. //w = Bewegung erzwingen
  28. //F9 = Stillstand erzwingen
  29. //LButton = Himmelsfaust
  30. //Rbutton = Himmelsfuror
  31.  
  32. e::
  33. send {F9 down}
  34. send {LButton down}
  35. sleep 2000
  36. send {LButton up}
  37. send {F9 up}
  38. send {w down}
  39.  
  40. stop = 0
  41.  
  42. loop
  43.  
  44. {
  45. if stop = 1
  46.  
  47. break
  48.  
  49. send {rbutton down}
  50. sleep 20
  51. send {rbutton up}
  52. sleep 120
  53. GetKeyState, keystate, e,P
  54. if keystate = U
  55. break
  56. }
  57. send {w up}
  58. return
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement