求一个自动上下翻页的脚本!谢谢大佬!
autojs吧
全部回复
仅看楼主
level 1
用作于淘宝详情页上下查看 大概就是先往下慢慢翻动一会儿 然后在慢慢往上翻动一会儿 如此循环
2020年08月26日 09点08分 1
level 1
顶一下啊!不要沉了[泪]
2020年08月26日 09点08分 2
level 1
顶一下啊!不要沉了[泪]
2020年08月26日 09点08分 3
level 1
顶一下啊!不要沉了[泪]
2020年08月26日 09点08分 4
level 1
求各位大佬好心帮助一下 好人一生平安!!![玫瑰]
2020年08月26日 09点08分 5
level 5
这个需求在官方提供的文档上有示例:
const width = device.width;
const height= device.height;
setScreenMetrics(width , height);
// 模拟从坐标(x1, y1)滑动到坐标(x2, y2),并返回是否成功。只有滑动操作执行完成时脚本才会继续执行。
swipe(width/2, height/22, width/2, height/1.4, 3000);
低版本的安卓系统不支持滑动操作
2020年08月27日 01点08分 8
谢谢大佬!![泪]
2020年08月28日 02点08分
level 5
swipe(x1,y1,x2,y2,滑动速度);
sleep(2000);等待2秒
swipe(x1,y2,x2,x1,滑动速度);
2020年08月27日 01点08分 9
谢谢!!!好人平安生八个孩子
2020年08月28日 02点08分
这个看懂了,楼上那位老兄代码有点复杂
2020年12月06日 08点12分
level 5
swipe(500,1800, 500, 500, 2000);//上滑
sleep(2000);
swipe(500,500,500,1800,2000);//下滑
2020年08月27日 01点08分 10
[花心]
2020年08月28日 02点08分
大佬,缩放图片的代码是啥呀
2020年09月01日 08点09分
大佬,太感谢了
2020年10月23日 11点10分
大神,怎么做出一个按钮出来啊,点击按钮运行你的代码?
2020年10月25日 01点10分
level 1
你这是想做一个tb唰dan的脚本吗,光这一个简单的功能怎么够
2020年12月03日 06点12分 12
1