add: LICENSE, ui mode
This commit is contained in:
13
app/src/main/assets/sample_qq_hongbao.js
Normal file
13
app/src/main/assets/sample_qq_hongbao.js
Normal file
@@ -0,0 +1,13 @@
|
||||
launch("com.tencent.mobileqq");
|
||||
toast("请打开一个聊天窗口");
|
||||
toast("出现红包时将会自动拆开并关闭");
|
||||
while(!isStopped()){
|
||||
if(click("点击拆开")){
|
||||
//拆开红包后尝试10次关闭红包页面
|
||||
for(var i = 0; i < 10; i++){
|
||||
sleep(300);
|
||||
if(click("关闭"))
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user