Help AHK 360 spin

YenDiablo

Member
Joined
Nov 24, 2018
Messages
9
Reaction score
4
i made a 360 spin using ahk
XButton2::
{
DllCall("mouse_event", "UInt", 0x01, "UInt", 43080, "UInt", 0) ; move 1 unit right
Sleep 5
}
return
it just skip a pixel i would like it automatically spins 360 per pexil without skipping any pixel
 

kenpeo

Active member
Joined
May 10, 2014
Messages
28
Reaction score
3
i made a 360 spin using ahk
XButton2::
{
DllCall("mouse_event", "UInt", 0x01, "UInt", 43080, "UInt", 0) ; move 1 unit right
Sleep 5
}
return
it just skip a pixel i would like it automatically spins 360 per pexil without skipping any pixel
F2 = ON / OFF
HTML:
#MaxThreadsPerHotkey 2

$F2::
    Toggle := !Toggle
    while Toggle
    {
    DllCall("mouse_event", "UInt", 0x01, "UInt", 43080, "UInt", 0) ; move 1 unit right
    Sleep 5
    }
return
 
Top