一年一度的双十一,2019年每天都要花大半个小时去领喵币,不得不说,费时费力,为了女朋友能更愉快shoping的同时能用上优惠券,来看看我们怎么自动化领取喵币。

一、如图,下载apk
链接:https://pan.baidu.com/s/1UEHgZxrU1QSrbaVQUfX-ug
提取码:2u22

二、添加自动淘宝金币脚本代码(由于淘宝有会有变化,需要请联系v:tipshop,备注淘宝喵币自动化脚本),如图:

这里贴出脚本代码:
auto.waitFor();
var height = device.height;
var width = device.width;
toast("\n设备宽" + width + "\n" + "设备高" + height + "\n" + "手机型号" + device.model + "\n安卓版本" + device.release)
if (height == 1920) { //设置脚本坐标点击所适合的屏幕宽高。
setScreenMetrics(1080, 2160);//改的是这里哈
toast("设备高" + height);
lingqu()
} else if (height == 2340) {
setScreenMetrics(1080, 2340);
toast("设备高" + height);
lingqu()
}
else if (height == 2160) {
setScreenMetrics(1080, 2160);
toast("设备高" + height);
lingqu();
}
function lingqu() {
app.launchApp("手机淘宝");
toast("打开淘宝")
sleep(6000);
while(text("双11合伙人").exists()){//进入活动页
toast("存在双十一红包入口");
text("双11合伙人").findOne().click();
}
//click(600, 1235);//进入活动页
sleep(6000);
//click(547, 1264);//点猫 领金币
// //浏览15秒领金币
sleep(1500);
//click(911, 1716);
sleep(1500);
if (text("签到").exists()) {
text("签到").findOne().click();
sleep(1600);
toast("签到成功")
}
sleep(1500);
while (text("去进店").exists()) {
//要支持的动作
toast("存在去进店");
text("去进店").findOne().click();
sleep(2500);
swipe(width / 2, height - 600, width / 2, 0, 500);
sleep(3500);
swipe(width / 2, height - 600, width / 2, 0, 500);
sleep(10000);
swipe(width / 2, height - 600, width / 2, 0, 500);
sleep(9000);
back();
sleep(1000);
}
while (text("去浏览").exists()) {
//要支持的动作
toast("存在去浏览");
text("去浏览").findOne().click();
sleep(1500);
swipe(width / 2, height - 500, width / 2, 0, 500);
sleep(2500);
swipe(width / 2, height - 500, width / 2, 0, 500);
sleep(10000);
swipe(width / 2, height - 500, width / 2, 0, 500);
sleep(8000);
back();
sleep(1600);
}
toast("结束");
}
使用教程及更多自动化脚本请联系v❤:tipshop