//-------------aizoulu----------------
function 爱走路忽略() {
if (text(“步数兑换”).exists()) {
toastLog(“步数兑换”);
let b = text(“步数兑换”).findOnce().bounds();
click(b.centerX(), b.centerY());
sleep(4000);
if (text(“看视频继续兑换”).exists()) {
let b = text(“看视频继续兑换”).findOnce().bounds();
click(b.centerX(), b.centerY());
循环时间()
sleep(4000);
}
}
if (textContains(“看视频再”).exists()) {
let b = textContains(“看视频再”).findOnce().bounds();
click(b.centerX(), b.centerY());
循环时间()
sleep(4000);
}
if (bounds(159, 503, 561, 571).exists()) {
toastLog(“bounds1”);
let b = bounds(159, 503, 561, 571).findOnce().bounds();
click(b.centerX(), b.centerY());
循环时间()
sleep(2000);
}
if (id(“tv_takecoin”).exists()) {
toastLog(“tv_takecoin”);
let b = id(“tv_takecoin”).findOnce().bounds();
click(b.centerX(), b.centerY());
循环时间()
sleep(2000);
}
if (id(“iv_close”).exists()) {
toastLog(“iv_close”);
id(“iv_close”).findOnce().click();
}
if (text(“关闭”).exists()) {
toastLog(“关闭”);
let b = text(“关闭”).findOnce().bounds();
click(b.centerX(), b.centerY());
sleep(2000);
}
if (text(“点击重播”).exists()) {
toastLog(“点击重播”);
sleep(3000);
back();
sleep(1000);
}
if (text(“金币翻倍”).exists()) {//爱走路
toastLog(“金币翻倍”);
let b = text(“金币翻倍”).findOnce().bounds();
click(b.centerX(), b.centerY());
循环时间()
sleep(6000);
}
if (text(“炫耀一下”).exists()) {//爱走路
click(305, 122
爱走路AutoJs脚本分享
最新推荐文章于 2023-06-03 22:03:45 发布
![](https://img-home.csdnimg.cn/images/20240711042549.png)