Random sleep Topic is solved
Random sleep
hi! how to make a random sleep so that it clicks 10 ms for 5-6 s and after 5-6 SEC 30 ms for 3-4 s and then again 10 ms and so on and on
Re: Random sleep Topic is solved
Hallo,
try:Sleep is a waste of time!
try:
Code: Select all
q::
5_6s:
Random, 5_6s, 5000, 6000
SetTimer, 5_6s,% 5_6s
Period := Period = 30 ? 10 : 30
SetTimer, Click,% Period
Return
Click:
Click
Return