shell循環模擬點擊
- 連接adb后輸入 adb shell input tap X坐標 Y坐標
左邊 adb shell input tap 279 1897
右邊 adb shell input tap 1085 1880
@echo off
set var=0
rem ************循環開始了
:continue
set /a var+=1
echo 第%var%次循環
adb shell input tap 279 1897
adb shell input tap 1085 1880
if %var% lss 0 goto continue
rem ************循環結束了
echo 循環執行完畢
pause
執行shell以后的命令
adb shell <123.txt
如何下次找到我?
- 關注我的簡書
- 本篇同步Github倉庫:https://github.com/BolexLiu/DevNote (可以關注)