Skip to content

Instantly share code, notes, and snippets.

@chungbkhn
Created December 2, 2018 15:19
Show Gist options
  • Save chungbkhn/5367fe23a43d8a3d964fddee861e9e4f to your computer and use it in GitHub Desktop.
Save chungbkhn/5367fe23a43d8a3d964fddee861e9e4f to your computer and use it in GitHub Desktop.
Bash script for auto click on Mac OS with https://github.com/BlueM/cliclick
#!/bin/bash
cliclick c:1295,604
# COUNTER=0
# while [ $COUNTER -lt 10 ]; do
# let COUNTER=COUNTER+1
# cliclick c:1295,604 w:200 c:1298,679 w:12000 c:1225,553 w:200 c:1225,553 w:200
# done
while [ 1 ]; do
cliclick c:1295,604 w:200 c:1298,679 w:12000 c:1225,553 w:200 c:1225,553 w:200
done
echo "Done"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment