当前位置:网站首页>微信运动自动点赞
微信运动自动点赞
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))
}
}
}
边栏推荐
- Three tips from small video app source code developers on small video platforms
- Redis data migration (III)
- Kuboardv3 and monitoring kit installation
- Large scale visual relationship understanding
- Installation de la base de données Oracle dans docker
- Learning notes of Lichuang EDA: Copper laying dead zone? isolated island? Dead copper?
- 基于 RISC-V SoC 的可配置 FFT 系统设计(1)引言
- [从零开始学习FPGA编程-49]:视野篇 - 芯片是如何被设计出来的?
- How to become a senior digital IC Design Engineer (6-7) digital IC Verification: debug skills
- IPFS简述
猜你喜欢

How to encrypt anti copy program

Using autogluon to forecast house price
Scala Foundation (3): Operators and Process Control

Share the code technology points and software usage of socket multi client communication

How to manage device authorization

How to become a senior digital IC Design Engineer (4-5) script: file comparison operation implemented by shell script

How to become a senior digital IC Design Engineer (4-2) script: file read / write operation realized by Verilog HDL code

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

机构加密资产产品上周流出4.23亿美元资金,创历史新高

SQL splits strings into tables
随机推荐
Exclusive analysis | about resume and interview
Rasa对话机器人之HelpDesk (五)
如何成为一名高级数字 IC 设计工程师(4-3)脚本篇:C 语言实现的文件读写操作
Last week, institutional encryption asset products outflow US $423million, a record high
How to become a senior digital IC Design Engineer (4-5) script: file comparison operation implemented by shell script
[solution] longest common subsequence
How to select database
Database - optimizer
P7 Erkai early know - registration and application creation
How to encrypt anti copy program
Hello i am back
EdrawMax思维导图,EdrawMax组织结构图
Similarities and differences between SRAM and DRAM
Ambiguity between 0 and 1
[C language] Fibonacci sequence and frog jumping steps (the most detailed elementary frog jumping steps)
C language course design - food warehouse management system
【内网穿透】Frp 自建跳板-两个内网通讯上线-反弹shell
TypeScript(6)函数
In simple terms, server intrusion prevention
基于 FPGA 的 RISC CPU 设计(4)关于项目的 36 个问题及其答案