Advertisement
DevTricks

Поворот на 180 и обратно

Nov 19th, 2021
2,214
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. SendMode Input  
  2. SetWorkingDir %A_ScriptDir%  
  3.  
  4. sens:=1
  5. zoomsens:=1
  6.  
  7.  
  8. ;Sens
  9. ;==========
  10. ;=============================
  11. ;Don't touch, only if you know what this does.
  12. modifier:=2.52/sens
  13. modifierr:=2.600/sens
  14. modifiers:=2.52/sens
  15. amodifier:=2/sens
  16. modifierz:=1.9/sens
  17.  
  18. XButton1::
  19. DllCall("mouse_event", "UInt", 0x01, "UInt", 223*modifiers, "UInt", 0)
  20. sleep 1
  21. DllCall("mouse_event", "UInt", 0x01, "UInt", 432*modifiers, "UInt", 0)
  22. sleep 1
  23. DllCall("mouse_event", "UInt", 0x01, "UInt", 432*modifiers, "UInt", 0)
  24. sleep 1
  25. DllCall("mouse_event", "UInt", 0x01, "UInt", 432*modifiers, "UInt", 0)
  26. sleep 1
  27. DllCall("mouse_event", "UInt", 0x01, "UInt", 432*modifiers, "UInt", 0)
  28. sleep 1
  29. DllCall("mouse_event", "UInt", 0x01, "UInt", 432*modifiers, "UInt", 0)
  30. sleep 1
  31. DllCall("mouse_event", "UInt", 0x01, "UInt", 432*modifiers, "UInt", 0)
  32. sleep 1
  33. DllCall("mouse_event", "UInt", 0x01, "UInt", 432*modifiers, "UInt", 0)
  34. sleep 200
  35. return
  36.  
  37. F1::ExitApp
  38. return
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement