赚钱小视频autojs脚本分享

function 赚钱忽略() {
// if (text(“领金币”).exists()) {
// let b = text(“领金币”).findOnce().bounds();
// click(b.centerX(), b.centerY());
// toastLog(“领金币”);
// sleep(5000);
// }
// if (textContains(“看视频再得”).exists()) {
// let b = textContains(“看视频再得”).findOnce().bounds();
// click(b.centerX(), b.centerY());
// 循环时间()
// sleep(5000);
// if (bounds(954, 839, 1039, 924).exists()) {
// let b = bounds(954, 839, 1039, 924).findOnce().bounds();
// click(b.centerX(), b.centerY());
// sleep(4000);
// if (bounds(499, 1783, 582, 1866).exists()) {
// let b = bounds(499, 1783, 582, 1866).findOnce().bounds();
// click(b.centerX(), b.centerY());
// sleep(4000);
// }
// }
// }
// if (bounds(624, 578, 740, 796).exists()) {
// let b = bounds(624, 578, 740, 796).findOnce().bounds();
// click(b.centerX(), b.centerY());
// sleep(4000);
// if (textContains(“看视频再得”).exists()) {
// let b = textContains(“看视频再得”).findOnce().bounds();
// click(b.centerX(), b.centerY());
// 循环时间()
// sleep(5000);
// if (bounds(954, 839, 1039, 924).exists()) {
// let b = bounds(954, 839, 1039, 924).findOnce().bounds();
// click(b.centerX(), b.centerY());
// sleep(4000);
// if (bounds(499, 1783, 582, 1866).exists()) {
// let b = bounds(499, 1783, 582, 1866).findOnce().bounds();
// click(b.centerX(), b.centerY());
// sleep(4000);
// }
// }
// }
// }
if (id(“dialog_close”).exists()) {
let b = id(“dialog_close”).findOnce().bounds();
click(b.centerX(), b.centerY());
sleep(4000);
}
if (bounds(499, 1543, 582, 1626).exists()) {
let b = bounds(499, 1543, 582, 1626).findOnce().bounds();
click(b.centerX(), b.centerY());
toastLog(“恭喜完成任务”);
sleep(4000);
}
if (bounds(499, 1783, 582, 1866).exists()) {
let b = bounds(499, 1783, 582, 1866).findOnce().bounds();
click(b.centerX(), b.centerY());
sleep(4000);
}
if (bounds(954, 601, 1039, 686).exists()) {
let b = bounds(954, 601, 1039, 686).findOnce().bounds();
click(b.centerX(), b.centerY());
sleep(4000);
}
if (bounds(934, 105, 1044, 215).exists()) {
let b = bounds(934, 105, 1044, 215).findOnce().bounds();
click(b.centerX(), b.centerY());
toastLog(“paopao”);
sleep(5000);
}
// if (textContains(“看视频再”).exists()) {
// let b = textContains(“看视频再”).findOnce().bounds();
// click(b.centerX(), b.centerY());
// 循环时间()
// sleep(5000);
// }
if (bounds(954, 657, 1039, 742).exists()) {
let b = bounds(954, 657, 1039, 742).findOnce().bounds();
click(b.centerX(), b.centerY());
toastLog(“p1”);
sleep(4000);
}
if (bounds(954, 521, 1039, 606).exists()) {
let b = bounds(954, 521, 1039, 606).findOnce().bounds();
click(b.centerX(), b.centerY());
toastLog(“p2”);
sleep(4000);
}
if (bounds(954, 549, 1039, 634).exists()) {
let b = bounds(954, 549, 1039, 634).findOnce().bounds();
click(b.centerX(), b.centerY());
toastLog(“p3”);
sleep(4000);
}
if (bounds(954, 554, 1039, 639).exists()) {
let b = bounds(954, 554, 1039, 639).findOnce().bounds();
click(b.centerX(), b.centerY());
toastLog(“p4”);
sleep(4000);
}
if (bounds(954, 760, 1039, 845).exists()) {
let b = bounds(954, 760, 1039, 845).findOnce().bounds();
click(b.centerX(), b.centerY());
toastLog(“p5”);
sleep(4000);
}
if (bounds(954, 633, 1039, 718).exists()) {
let b = bounds(954, 633, 1039, 718).findOnce().bounds();
click(b.centerX(), b.centerY());
toastLog(“p6”);
sleep(4000);
}
if (bounds(954, 639, 1039, 724).exists()) {
let b = bounds(954, 639, 1039, 724).findOnce().bounds();
click(b.centerX(), b.centerY());
toastLog(“p7”);
sleep(5000);
}
if (text(“确认”).exists()) {
let b = text(“确认”).findOnce().bounds();
click(b.centerX(), b.centerY());
sleep(4000);
}
if (id(“iv_close”).exists()) {
id(“iv_close”).findOnce().click();
toastLog(“iv_close”);
sleep(4000);
}
if (id(“task_dialog_close”).exists()) {
id(“task_dialog_close”).findOnce().click();
toastLog(“task_dialog_close”);
sleep(4000);
}
if (id(“money_dialog_getcash_new2_close”).exists()) {
id(“money_dialog_getcash_new2_close”).findOnce().click();
toastLog(“money_dialog_getcash_new2_close”);
sleep(4000);
}
if (id(“tt_video_ad_close_layout”).exists()) {
let c = id(“tt_video_ad_close_layout”).findOnce().bounds();
click(c.centerX(), c.centerY());
toastLog(“tt_video_ad_close_layout”);
sleep(4000);
}
if (id(“tt_video_ad_close”).exists()) {
let c = id(“tt_video_ad_close”).findOnce().bounds();
click(c.centerX(), c.centerY());
toastLog(“tt_video_ad_close”);
sleep(4000);
}
}
function 赚钱颜色() {
var img = captureScreen();
var w = findColor(img, “#ffffff”, {
region: [930, 917, 40, 40],
threshold: 4
});
if (w) {
click(933, 920);
toastLog(“找到叉号颜色”);
}
sleep(2000);
}
function 赚钱小视频() {
刷新()
home();
sleep(2000);
var a1 = desc(“赚钱小视频”).findOnce();
a1.click();
等待()
赚钱忽略();
赚钱忽略();
sleep(2000);
click(device.width * 0.3, device.height * 0.9);
var t = 200//50=10分钟,实测20分钟,5000金币=0.25,90次=0.5,理论每天应该200次
for (var i = 0; i < t; i++) {
toastLog(“赚钱小视频” + i + ‘次’ + “总计:” + t + “次”);
swipe(device.width / 2, device.height * 0.8, device.width / 2, device.height / 9, 500);
sleep(2000);
赚钱颜色()
赚钱忽略()
赚钱忽略()
赚钱忽略()
delayTime = random(6000, 14000);
sleep(delayTime);
}
back()
sleep(1000);
home()
}

  • 1
    点赞
  • 4
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值