微信運動自動點贊


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