[Freedom-misc] Looking for an autoclicker

mason at masonhock.com mason at masonhock.com
Wed Mar 18 20:07:53 CET 2020


You could try something like this:

```
#!/bin/bash
MIN=1 # minimum wait time in seconds between clicks
MAX=2 # maximum wait time in seconds between clicks
STEP=.001 # controls number of digits after the decimal point
while [ 1 ]; do # loop forver until you exit with Ctrl+C
     xdotool click 1 # click left mouse button
     WAIT=$(seq $MIN $STEP $MAX | shuf | head -n1) # generate random wait time
     sleep $WAIT # wait
done

```


More information about the Freedom-misc mailing list