chcp 65001
@echo off
echo 开始滑动
set str =0
:start
adb shell input swipe 100 150 100 100
choice /t 1 /d y /n >nul
set /a str+=1
cls
echo 滑动次数%str%
goto start

复制上边代码到记事本,修改后缀名为.bat, 双击打开执行,前提文件放到 adb目录,或者配置系统环境变量,另外,需要手机打开 开发者模式

扫码关注我们
微信号:SRE实战
拒绝背锅 运筹帷幄

SRE实战 互联网时代守护先锋,助力企业售后服务体系运筹帷幄!一键直达领取阿里云限量特价优惠。