批处理bat 之 adb input

实现功能:循环点击、滑动操作,间隔3秒

@echo off

adb wait-for-device

:start
::等待30秒
TIMEOUT /T 3
::点击屏幕坐标 752 565
adb shell input tap 752 565
TIMEOUT /T 3
::滑动坐标 160 344 160 544
adb shell input touchscreen swipe 160 344 160 544 1000

goto start
原文地址:https://www.cnblogs.com/zinthewind/p/14174031.html