当前位置:网站首页>微信运动自动点赞
微信运动自动点赞
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))
}
}
}
边栏推荐
- The metadata request parsing principle of OData XML format applied by SAP ui5 is based on domparser
- Brief description of 802.1x Protocol
- 同花顺究竟是如何开户?现在网上开户安全么?
- Scala Foundation (3): Operators and Process Control
- [从零开始学习FPGA编程-49]:视野篇 - 芯片是如何被设计出来的?
- Design and development of VB mine sweeping game
- What is stock online account opening? Is it safe to open an account online?
- How to manage device authorization
- Introduction to super dongle scheme
- How to become a senior digital IC Design Engineer (5-1) theory: clock technology, reset Technology
猜你喜欢

Design and development of VB mine sweeping game

Callback function of unity after importing resources

PHP hospital network reservation management system source code, hospital consultation reservation registration OA system (commercial or graduation design)

HBuilder左侧工具栏不见了

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

如何成为一名高级数字 IC 设计工程师(4-5)脚本篇:Shell 脚本实现的文件比较操作

PAT甲级真题1165

Near consensus mechanism

Application of X6 in data stack index management

Typescript (5) class, inheritance, polymorphism
随机推荐
Research on VB multi-layer firewall technology - state detection
802.1x协议简述
SQL splits strings into tables
Would like to ask how to choose a securities firm? Is it safe to open an account online now?
Analysis of sending principle of OData metadata request for SAP ui5 application
P7 Erkai early know - registration and application creation
数字 IC 设计、FPGA 设计秋招笔试题目、答案、解析(2)2021 华为海思(上)
为什么建议大家尽可能选择自研公司
In simple terms, server intrusion prevention
Use kubernetes resource lock to complete your own ha application
Mysql database password modification
月薪过万的测试员,是一种什么样的生活状态?
7-29 delete substring in string (non KMP)
How to become a senior digital IC Design Engineer (1-1) Verilog coding Grammar: Introduction
基于 FPGA 的 RISC CPU 设计(4)关于项目的 36 个问题及其答案
PHP hospital network reservation management system source code, hospital consultation reservation registration OA system (commercial or graduation design)
Flask-SQLAlchemy的基本使用
Scala 基础 (三):运算符和流程控制
[C language] Fibonacci sequence and frog jumping steps (the most detailed elementary frog jumping steps)
如何成为一名高级数字 IC 设计工程师(5-1)理论篇:时钟技术、复位技术