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