;Made by SonicKMN/anonfoxer
;lets have fun shall we.
;version 1.0.0
;made 4/21/19
;happy easter
;made to make osu spinners super easy.
;; by default ahk gets mouse coordinates relative to the active
;; window, this sets it to use absolute coordinates
CoordMode, Mouse, Screen
;; how often to get the mouse position in milliseconds
UPDATE_INTERVAL := 10
RIGHT_EDGE := A_ScreenWidth - 1
TOP_EDGE := A_ScreenHeight - 1
BrushSlice := 0
;; make the script run forever
#Persistent
SetTimer, WatchCursor, %UPDATE_INTERVAL%
return
WatchCursor:
MouseGetPos, xpos
#MaxThreadsPerHotkey 2
!s::
toggle := !toggle
loop
{
if (toggle) {
MouseGetPos, xx, yy
MouseMove 650, 440
Sleep 1
MouseMove 650, 378
Sleep 1
MouseMove 717, 378
Sleep 1
MouseMove 717, 440
Sleep 1
}
else {
break
}
}
return