Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- function sleepOneSec() {
- echo "sleeping for 1 sec"
- sleep 0.3
- }
- function tapGetMoreCoins() {
- echo "taping Earn Some Coins"
- adb shell input tap 940 630
- }
- function tapShowMore() {
- echo "taping Show More"
- adb shell input tap 535 2250
- }
- function tapCopyToClipBoard() {
- echo "taping Copy To Clipboard"
- adb shell input tap 600 1900
- }
- function loop() {
- for a in {0..480}
- do
- echo "iteration $a"
- tapGetMoreCoins
- sleepOneSec
- tapShowMore
- sleepOneSec
- tapCopyToClipBoard
- done
- }
- loop
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement