Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- MaxStep := 60
- ~*LButton::
- While GetKeyState("LButton", "P") {
- if (A_Index <= MaxStep)
- DllCall("mouse_event", uint, 1, int, 0, int, 1, uint, 0, int, 0)
- var := A_Index >= MaxStep ? MaxStep : A_Index
- Sleep, 10
- }
- DllCall("mouse_event", uint, 1, int, 0, int, -var, uint, 0, int, 0)
- return
Add Comment
Please, Sign In to add comment