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));
19 #./adb shell getevent -l - use this command to get the position
21 #./adb shell input tap 1002 913
23 #./adb shell input tap 994 560
25 #./adb shell input tap 987 346
27 #./adb shell input tap 921 1188
29 #./adb shell input tap 981 532
31 #./adb shell input tap 981 326
36 # ./adb shell input tap 153 1211
39 # ./adb shell input tap 520 1211
42 #./adb shell input tap 923 383
44 #./adb shell input tap 506 580
49 ./adb shell input tap 92 139
50 ./adb shell input tap 92 139
52 # stop live view (go to playback)
53 ./adb shell input tap 92 139
54 ./adb shell input tap 92 250
57 #RAND=$[( $RANDOM % $RAN_END ) + $RAN_STA]
58 #RAND=$[`jot -r 1 $RAN_STA $RAN_END`]
59 #echo "Delay: $RAND seconds"
62 # pick a prime number > 120 seconds