3 # This script does clicking action automatically
4 # We just need to set up the timer duration
11 # Range of random number (in seconds)
15 for ((i=$BEGIN; i<=$END; i+=$INC));
17 #./adb shell getevent -l - use this command to get the position
19 #./adb shell input tap 1002 913
21 ./adb shell input tap 981 358
23 #./adb shell input tap 987 346
25 #./adb shell input tap 921 1188
27 #./adb shell input tap 981 532
29 #./adb shell input tap 981 326
32 #RAND=$[( $RANDOM % $RAN_END ) + $RAN_STA]
33 #RAND=$[`jot -r 1 $RAN_STA $RAN_END`]
34 #echo "Delay: $RAND seconds"
37 # pick a prime number > 120 seconds