Looking for a script that does the following:
Has on-off toggle.
Waits random amount between 2-3 seconds.
Hit key 3.
Waits random amount between .5-1 seconds.
Hit left mouse button.
Thank you kindly!
Would someone kindly make a basic 2 function script?
Re: Would someone kindly make a basic 2 function script?
Hallo,
the 2 tasks either consecutively:or simultaneously:
On/Off with Key Q
the 2 tasks either consecutively:
Code: Select all
Pause
Loop
{
Sleep, Rand(2000, 3000)
Send, 3
Sleep, Rand(500, 1000)
Click
}
q::Pause ;On/Off
Rand(Min:="", Max:="") {
Random, Rand, Min, Max
Return, Rand
}
Code: Select all
q:: ;On/Off
SetTimer, T3,% (On:=!On)?Rand(2000,3000):"Off"
SetTimer, TClick,% On?Rand(500,1000):"Off"
Return
T3:
SetTimer,,% Rand(2000,3000)
Send, 3
Return
TClick:
SetTimer,,% Rand(500,1000)
Click
Return
Rand(Min:="", Max:="") {
Random, Rand, Min, Max
Return, Rand
}