当前位置:网站首页>微信运动自动点赞
微信运动自动点赞
2022-06-29 01:52:00 【小码~】
本文章基于Auto.js编写,希望喜欢的用户点赞收藏,后续有更多脚本,大家一起努力。
auto.waitFor();
APP_wxyd();
function APP_wxyd(){
while(true){
if(text("排行榜").exists()){
toastLog("当前在排行榜页面")
//寻找点赞图标
var object=id("c5s").find();
if(!object.empty()){
//遍历点赞图标
object.forEach(function(currentValue,index){
if(currentValue){
var like=currentValue.parent().parent()
if(like.click()){
log("执行点赞成功");
sleep(random(0,1000))//随机延时
}else{
toastLog("Error:点赞失败")
}
};
//错误处理
if(text("赞我的朋友").exists()){
back();//返回
sleep(random(0,1000))
}
if(textEndsWith("的主页").exists()){
back();//返回
sleep(random(0,1000))
}
})
}else{
toastLog("Error:没找到");
}
}
else{
toastLog("Error:不在排行榜页面")
};
//检查是否到达底部
if(text("邀请朋友").exists()){
toastLog("点赞结束")
break;
}
//检查是否在排行榜页面
if(text("排行榜").exists()){
//开始翻页
let rect=id("dz").findOne().bounds();//图像高度
var y2=rect.bottom;
swipe(device.width/2+random(-100,100),device.height-10,device.width/2+random(-100,100),y2,random(0,1000))
}
}
}
边栏推荐
- A full screen gesture adaptation scheme
- 802.1x协议简述
- Scala Foundation (3): Operators and Process Control
- 芯片原厂必学技术(1)引言
- Fundamentals of scala (3): operators and process control
- 如何成为一名高级数字 IC 设计工程师(4-3)脚本篇:C 语言实现的文件读写操作
- Ambiguity between 0 and 1
- ASP. Net based on LAN
- 手把手教你搞懂测试环境项目部署
- [從零開始學習FPGA編程-49]:視野篇 - 芯片是如何被設計出來的?
猜你喜欢

What kind of life is a tester with a monthly salary of over 10000?

独家分析 | 软件测试关于简历和面试的真实情况

Design and development of VB mine sweeping game

Typescript (5) class, inheritance, polymorphism

Uniapp notes

Kuboardv3 and monitoring kit installation

With this tool, automatic identification and verification code is no longer a problem

How to become a senior digital IC Design Engineer (4-3)

Test a CSDN free download software

I have summarized some experiences from the whole process of R & D platform splitting
随机推荐
How to encrypt the device
How to select database
Redis data migration (III)
Hello i am back
IPFS简述
Basic use of flask Sqlalchemy
TypeScript(6)函数
一种全面屏手势适配方案
TiFlash 面向编译器的自动向量化加速
【内网穿透】Frp 自建跳板-两个内网通讯上线-反弹shell
Server antivirus
To the interface problems we have encountered
如何成为一名高级数字 IC 设计工程师(4-5)脚本篇:Shell 脚本实现的文件比较操作
What kind of life is a tester with a monthly salary of over 10000?
Who do you want to know when opening a stock account? Is it safe to open an account online now?
How to encrypt anti copy program
How to become a senior digital IC Design Engineer (6-6) digital IC Verification: system level simulation
How to become a senior digital IC Design Engineer (4-5) script: file comparison operation implemented by shell script
Design and development of VB mine sweeping game
Using autogluon to forecast house price