Skip to content

Instantly share code, notes, and snippets.

@HaydenElza
Created June 15, 2015 03:25
Show Gist options
  • Save HaydenElza/e475a7446e7a2785296f to your computer and use it in GitHub Desktop.
Save HaydenElza/e475a7446e7a2785296f to your computer and use it in GitHub Desktop.
Auto-Clicker using xdotool on linux
#!/bin/bash
COUNTER=0
while [ $COUNTER -lt 10000 ]; do
xdotool click 1
sleep 0.001s
echo The counter is $COUNTER
let COUNTER=COUNTER+1
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment