bat

bat

set _path=%~dp0
set sub_path=%_path%subpath
等号两边不能用空格
ping 127.0.0.1 -n 2 > nul
@echo off
set d=%date:~,10%
set d=%d:-=%
set d=%d:/=%
set t=%time:~,8%
set t=%t::=%
set t=%t: =0%
echo %d%%t%
adb shell screencap /sdcard/test/%d%%t%.png
adb pull /sdcard/test/%d%%t%.png C:\Users\dell\Desktop\screenshots
pause
@echo off
::ffmpeg  -i ./plutopr.mp4 -vcodec copy -acodec copy -ss 00:00:10 -to 00:00:15 ./cutout1.mp4 -y
set /p orivideo=请输入原视频地址:
set /p starttime=请输入截取起始时间 eg00:00:11 :
set /p endtime=请输入截取截止时间 eg00:00:22 :
set /p outvideo=请输入输出视频地址 :
ffmpeg -i %orivideo% -vcodec copy -acodec copy -ss %starttime% -to %endtime% %outvideo% -y
::ffmpeg -i %orivideo% -ss %starttime% -c copy -to %endtime% %outvideo% -y
pause
adb shell am force-stop com.xxx.app.ui
pause
adb shell pm clear com.xxxx.app.ui
pause
taskkill /f /im adb.exe
adb start-server
@echo off
@echo off
set d=%date:~,10%
set d=%d:-=%
set d=%d:/=%
set t=%time:~,8%
set t=%t::=%
set t=%t: =0%
echo %d%%t%
adb shell screenrecord /sdcard/%d%%t%.mp4
pause
adb pull /sdcard/%d%%t%.mp4
pause
adb shell uiautomator dump
adb shell screencap /sdcard/test.png
adb pull /sdcard/window_dump.xml ./test.uix
adb pull /sdcard/test.png ./test.png
pause
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值