adb bat
@REM 生成随机数
@echo off
@REM 设置延迟变量
setlocal enabledelayedexpansion
set min=9
set max=21
set /a mod=!max!-!min!+1
@REM 打开快手
adb shell am start -n com.kuaishou.nebula/com.yxcorp.gifshow.HomeActivity
@REM 暂停5秒
ping -n 12 127.0.0.1>nul
for /l %%i in (1,1,10000) do (
set /a r=!random!%%!mod!+!min!
@REM set t=%time:~0,8%
@REM echo !t!
echo %%i:!r!
adb shell input tap 350 765
ping -n !r! 127.0.0.1>nul
@REM 命令adb shell input swipe 340 865 370 202
adb shell input swipe 340 665 370 152
)