ok this is what ive worked out
Code: Select all
Insert:: Hotkey, ~RButton & LButton , Toggle
~RButton & LButton::
while GetKeyState("RButton")
{
DllCall("mouse_event", uint, 1, int, 0, int, 5, uint, 0, int, 0)
Sleep, 0
DllCall("mouse_event", uint, 1, int, 0, int, 5, uint, 0, int, 0)
Sleep, 5
}
now.... problem i have now is, when i let go of my LMB the script carries on, its not untill i let go of my RMB that the script stops
is there a way, maybe with the "pause" code, that when i let go of my LMB it stops, then carries on again when i press my LMB
thx for any help guys & girls, its much apreciated