Autojs源码 最新热门脚本Autojs源码分享

软件发布|下载排行|最新软件

当前位置:首页IT学院IT技术

Autojs源码 最新热门脚本Autojs源码分享

qq_3093074221   2021-05-18 我要评论
想了解最新热门脚本Autojs源码讲解的相关内容吗,qq_3093074221在本文为您仔细讲解Autojs源码的相关知识和一些Code实例,欢迎阅读和指正,我们先划重点:Autojs源码,Autojs脚本源码,下面大家一起来学习吧。

今天给大家分享一个包含最新50个热门脚本合集的源码,目前包括:矿牛守卫赚、热血星际、捉妖特工队、体重保卫战、炎兔、魔兽红包群、横扫太空、疯狂合体鸭、动物星球、猜猜什么歌等最热门的脚本源码,源码可以直接运行。学完直接可以开撸代码,成为大神。

需要源码的可以从此处下载哦,非常不错的autojs源码。

http://xiazai.jb51.net/202105/yuanma/autojsym_jb51.rar

部分源码截图:

部分源码截取:

function 判断() {
 
    while (true) {
        try {
            if (text("取消").findOnce()) {
                toastLog("等待10秒")
                sleep(1000)
                text("取消").findOnce().click()
                sleep(1500)
 
 
            } else if (text("禁止").findOnce()) {
                toastLog("等待10秒")
                sleep(1000)
                text("禁止").findOnce().click()
                sleep(1500)
 
 
            } else if (!packageName("com.aries.ttqs.mz").findOnce()) {
                sleep(8000)
                if (!packageName("com.aries.ttqs.mz").findOnce()) {
                    app.launch("com.aries.ttqs.mz")
                    sleep(6000)
                }
            } else if (id("tt_titlebar_back").findOnce()) {
                back()
                sleep(1000)
            } else if (className("android.view.View").boundsInside(0, 0, device.width * 0.2, device.height * 0.15).findOnce()) {
                toastLog("☜")
                back()
                sleep(5000)
            } else if (text("关闭").findOnce()) {
                var 坐标 = text("关闭").findOnce();
 
                click(坐标.bounds().centerX(), 坐标.bounds().centerY());
                sleep(1000)
            } else  if(脚本包名.findOnce()){
            sleep(5000)
            }else if(视频特征2.findOnce()){
                toastLog("^O^2")
                sleep(1000)
                }else  if(视频特征.findOnce()){
                    toastLog("^O^1")
                    sleep(1000)
          }else if (id("content").findOnce()&&className("android.widget.FrameLayout").depth("5").boundsInside(0, device.height*0.86, device.width, device.height).findOnce()&&!className("android.widget.ImageView").boundsInside(0, 0, device.width, device.height *0.3).findOnce()&&!className("android.view.View").boundsInside(0, 0, device.width, device.height *0.3).findOnce()) {
                 
           toastLog("第三界面操作")
                   第三界面()
                   sleep(1000)
                   break;
        }else  if (id("content").findOnce()&&className("android.widget.FrameLayout").depth("5").findOnce()&&!className("android.widget.FrameLayout").depth("5").boundsInside(0, device.height*0.86, device.width, device.height).findOnce()&&!className("android.widget.ImageView").boundsInside(0, 0, device.width, device.height *0.3).findOnce()&&!className("android.view.View").boundsInside(0, 0, device.width, device.height *0.3).findOnce()) {
           toastLog("第二界面操作")
                   第二界面()
                   sleep(1000)
                   break;
              
            }else     if (id("content").findOnce()&&!className("android.widget.FrameLayout").depth("5").findOnce()&&!className("android.widget.ImageView").boundsInside(0, 0, device.width, device.height *0.3).findOnce()&&!className("android.view.View").boundsInside(0, 0, device.width, device.height *0.3).findOnce()) {
                   toastLog("主界面操作")
                   主界面()
                   sleep(1000)
                   break;
                   }
                
        } catch (a) {
           continue;
        }
    }
}

Copyright 2022 版权所有 软件发布 访问手机版

声明:所有软件和文章来自软件开发商或者作者 如有异议 请与本站联系 联系我们