need help click left mouse randomly between 5 and 10 times

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
masonkhan
Posts: 1
Joined: 24 Sep 2018, 03:13

need help click left mouse randomly between 5 and 10 times

24 Sep 2018, 03:16

hey guys i have 2 questions

i want to add to the first mousemove coordinates (978, 781) and the last mousemove coordinates (605, 790) to click randomly in a range from min 5 and max 10 times.



and the other question i start the script with the key "v" and exit the script with "p" how can i just stop the script with the key "p" instead of exit...







v::


Loop,

{

MouseMove 978, 781, 1
Sleep 90
MouseClick

MouseMove 1254, 919, 3
Random, myVar, 2000, 3000
Sleep, %myVar%
MouseClick

MouseMove 1645, 781, 1
Sleep 900
MouseClick
Sleep 1

MouseMove 1039, 662, 1
Sleep 90
MouseClick
Sleep 1

MouseMove 133, 148, 1
Sleep 90
MouseClick

MouseMove 605, 790, 1
Sleep 500
MouseClick


}


p::exitapp

Return to “Ask for Help (v1)”

Who is online

Users browsing this forum: No registered users and 168 guests