抖音极速版邀请码: 890992808 看文章加关注点分享都不用...加下邀请码就好
快手极速版邀请码: 2rvxaem 代码地址:https://blog.csdn.net/zy0412326/article/details/104788816
火山极速版邀请码:279116054 代码地址:https://blog.csdn.net/zy0412326/article/details/104913848
今日头条极速版邀请码:1849623318 代码地址:https://blog.csdn.net/zy0412326/article/details/105011375
其实快手的和抖音火山都差不多。看代码,亲测华为Mate10和华为Nova
auto.waitFor();
app.launchApp('快手极速版');
sleep(10000);
var CommentKeyWord = [
'我是抖音小助手关注了你你要关注我哦!',
'山高路远坑深,大军纵横驰奔,谁敢横刀立马?惟有点赞加关注大军!',
'我的未来不是梦我相信你也是',
'身同感受',
];
console.show(); //开启日志(悬浮窗权限)
console.info("快手极速版");
kuaiShouAutoComment();
home();//关闭当前程序
/**
* 自动评论
*/
function kuaiShouAutoComment() {
let comment = CommentKeyWord[Math.floor(Math.random() * CommentKeyWord.length)];
let buttons = className("android.widget.LinearLayout").id("comment_button").find();
if (buttons.length > 0) {
let clickResult = buttons[0].click();
if (clickResult) {
sleep(3000);
if (id("comment_editor_holder_text").exists()) {
id("comment_editor_holder_text").findOnce().click();
sleep(1000);
setText(0, comment);
sleep(1000);
if (text("发送").exists()) {
toastLog("开启自动评论");
if (text("发送").findOnce().click()) {
toastLog("自动评论成功");
back();
}
}
}
}
}
}