level 2
叶子111111125
楼主
小白求助
while(temp==null)
{
sleep(100);
toastLog("再次查找播放按钮");
temp=boundsInside(420,879,660,1119).findOnce();
}
click(temp.bounds().centerX(),temp.bounds().centerY());
sleep(100);
for (var i = 0; i < 20; i++) {
sleep(100);
gestures([350, [300, 1400],
[300, 400]
]);
}
为啥把sleep(100)改成sleep(1000)就不能正常运行,像图片那样加载一半又会回到原来视频出现错误,无法正常滑动我想它看一个视频10秒再进行下滑操作

2020年10月26日 03点10分
1
while(temp==null)
{
sleep(100);
toastLog("再次查找播放按钮");
temp=boundsInside(420,879,660,1119).findOnce();
}
click(temp.bounds().centerX(),temp.bounds().centerY());
sleep(100);
for (var i = 0; i < 20; i++) {
sleep(100);
gestures([350, [300, 1400],
[300, 400]
]);
}
为啥把sleep(100)改成sleep(1000)就不能正常运行,像图片那样加载一半又会回到原来视频出现错误,无法正常滑动我想它看一个视频10秒再进行下滑操作
