adb bat 改进
@REM 生成随机数
@echo off
@REM 设置延迟变量
setlocal enabledelayedexpansion
set min=9
set max=17
set /a mod=!max!-!min!+1
@REM 打开快手
adb -s 192.168.1.101:5555 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,9999999) do (
set /a r=!random!%%!mod!+!min!
set /a r1=!random!%%!mod!+!min!+350
set /a r2=!random!%%!mod!+!min!+765
set /a r3=!r!+340
set /a r4=!r!+865
set /a r5=!r!+370
set /a r6=!r!+202
set /a r7=!r!+665
set /a r8=!r!+152
@REM set t=%time:~0,8%
@REM echo !t!
echo %%i:!r! !r3! !r7! !r5! !r8! !time!
rem adb -s 192.168.1.101 shell input tap !r1! !r2!
ping -n !r! 127.0.0.1>nul
@REM 命令adb -s pvq4nrx shell input swipe !r3! !r4! !r5! !r6!
adb -s 192.168.1.101:5555 shell input swipe !r3! !r7! !r5! !r8!
)