Created
August 4, 2018 08:42
-
-
Save VanDavv/9988e1cd6b872c4d3d2944b20c29394c to your computer and use it in GitHub Desktop.
Raspberry PI scripted mouse move
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
sleep 20 | |
export DISPLAY=':0.0' | |
while [ 1 ]; do | |
xdotool mousemove 677 382 click 1 | |
xdotool mousemove 10000 10000 | |
sleep 10 | |
xdotool mousemove 940 390 click 1 | |
xdotool mousemove 10000 10000 | |
sleep 10 | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment