当前位置:网站首页>微信运动自动点赞
微信运动自动点赞
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))
}
}
}
边栏推荐
- 分享自己平时使用的socket多客户端通信的代码技术点和软件使用
- Battle drag method 1: moderately optimistic and build self-confidence (2)
- PR FAQ: how to retrieve accidentally deleted video and audio in PR?
- 如何成为一名高级数字 IC 设计工程师(4-3)脚本篇:C 语言实现的文件读写操作
- SAP ui5 beginner tutorial Part 23 - sorting sort and grouping Group trial version of list control
- Who do you want to know when opening a stock account? Is it safe to open an account online now?
- Share the code technology points and software usage of socket multi client communication
- Scala Foundation (3): Operators and Process Control
- I'd like to ask you, where can I open an account in Zhongshan? Is it safe to open an account online?
- How to manage device authorization
猜你喜欢

【内网穿透】Frp 自建跳板-两个内网通讯上线-反弹shell

Tiflash compiler oriented automatic vectorization acceleration

Latest version of CorelDRAW technical suite2022

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

Analysis of sending principle of OData metadata request for SAP ui5 application

直播预告|SQL也能玩转工业级机器学习?MLOps meetup V3带你一探究竟!

月薪过万的测试员,是一种什么样的生活状态?

Uniapp notes

Live broadcast preview | can SQL also play industrial machine learning? Mlops meetup V3 takes you to the bottom!

To the interface problems we have encountered
随机推荐
Mysql database password modification
我想今天买股票,可以么?现在网上开户安全么?
Three tips from small video app source code developers on small video platforms
想请教一下,我在中山,到哪里开户比较好?在线开户是安全么?
With this tool, automatic identification and verification code is no longer a problem
Analysis of advantages and disadvantages of environment encryption and transparent encryption
Test a CSDN free download software
IPFS简述
IPFs Brief
Typescript (4) interface
How to become a senior digital IC Design Engineer (4-5) script: file comparison operation implemented by shell script
基于 RISC-V SoC 的可配置 FFT 系统设计(1)引言
TypeScript(7)泛型
同花顺究竟是如何开户?在线开户是安全么?
SAP ui5 beginner tutorial 24 - how to use OData data model
Application of X6 in data stack index management
Written examination questions, answers and analysis of Digital IC design and FPGA design (2) 2021 Huawei Hisilicon (Part 1)
Brief description of 802.1x Protocol
What is stock online account opening? Is it safe to open an account online?
Ambiguity between 0 and 1