赞
踩
adb shell input tap x y
- @ echo chcp 65001
- @ echo off
- set position=1
- set count=1
- adb shell wm size
- :loop
-
- set dateY=%date:~0,4%
- set dateM=%date:~5,2%
- set dateD=%date:~8,2%
- set dateHour=%time:~0,2%
- set dateMinutes=%time:~3,2%
- set dateSeconds=%time:~6,2%
- if %dateHour% LSS 10 (
- set dateHour=0%time:~1,1%
- )
- set printTime=%dateY%_%dateM%_%dateD%_%dateHour%_%dateMinutes%_%dateSeconds%
-
- set /a count+=1
- echo count = %count% , current position = %position% , %printTime%
-
- if %position%==1 (
- echo adb shell input tap 200 400
- adb shell input tap 200 400
- set position=2
- ) else (
- echo adb shell input tap 400 400
- adb shell input tap 400 400
- set position=1
- )
-
- Wscript sleep.vbs 1000
- goto loop
-
- pause

文件:sleep.vbs
内容:WScript.sleep 5000
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。