微信运动自动点赞


if (text('排行榜').exists()) {
    while (true) {
        let objs = id('bpz').find();
        let objsLength = objs.size();
        for (let index = 0; index < objsLength; index++) {
            let obj = objs[index];
            if (obj.parent().parent().click()) {
                sleep(1000)
            }
            if (text('赞我的朋友').exists()) {
                back()
                sleep(2000)
            }
            if (textEndsWith('的主页').exists()) {
                back()
                sleep(2000)
            }

        }
        if (text('邀请朋友').exists()) {
            break;
        }
        swipe(device.width / 2, device.height / 1.1,
            device.width / 2, device.height / 6, 800);
        sleep(2000);
    }
    toastLog('点赞完成');

} else {
    log('不在排行版页面');
    exit();
}
exit();

https://github.com/qinsilandiao/auto.js_scripts


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM