Created
November 14, 2011 06:13
-
-
Save trufa/1363365 to your computer and use it in GitHub Desktop.
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 | |
for (( i = 500 ; i <= 540; i= i +10 )) | |
do | |
sleep 1 | |
xte "mousemove 500 $i" "mousedown 1" "sleep 2" "mouseup 1" | |
xte "mousemove 500 440" "sleep 1" "mouseclick 1" | |
done | |
for (( j = 552 ; j <= 540; i= j +10 )) | |
do | |
sleep 1 | |
xte "mousemove 500 $j" "mousedown 1" "sleep 2" "mouseup 1" | |
xte "mousemove 500 440" "sleep 1" "mouseclick 1" | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment