The latest popular script Autojs source code sharing

The latest popular script Autojs source code sharing

Today I will share with you a source code containing the latest 50 popular scripts, currently including: Mine Guard Profit, Hot Blood Star, Monster Hunting Special Forces, Weight Defense, Fire Rabbit, Warcraft Red Packet Group, Sweeping Space, Crazy Fusion Duck, Animal Planet, Guess What Song and other most popular script source codes, the source code can be run directly. After learning, you can start writing code and become a master.

If you need the source code, you can download it from here. It is a very good autojs source code.

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

I will give you a few more good script source codes. Click to download

Some source code screenshots:

Some source code interception:

function judge() {
 
    while (true) {
        try {
            if (text("Cancel").findOnce()) {
                toastLog("Wait 10 seconds")
                sleep(1000)
                text("Cancel").findOnce().click()
                sleep(1500)
 
 
            } else if (text("forbidden").findOnce()) {
                toastLog("Wait 10 seconds")
                sleep(1000)
                text("forbidden").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("Close").findOnce()) {
                var coordinates = text("Close").findOnce();
 
                click(coordinates.bounds().centerX(), coordinates.bounds().centerY());
                sleep(1000)
            } else if (script package name.findOnce()) {
            sleep(5000)
            }else if(videoFeature2.findOnce()){
                toastLog("^O^2")
                sleep(1000)
                }else if(videoFeatures.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("Third interface operation")
                   The third interface ()
                   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("Second interface operation")
                   Second interface()
                   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("main interface operation")
                   Main interface()
                   sleep(1000)
                   break;
                   }
                
        } catch (a) {
           continue;
        }
    }
}

The above is the detailed content of the latest popular script Autojs source code sharing. For more information about Autojs source code, please pay attention to other related articles on 123WORDPRESS.COM!

You may also be interested in:
  • Use AutoJs to implement WeChat red envelope code
  • Detailed explanation of the idea of ​​implementing short videos with AutoJs
  • Autojs Ant Forest energy automatic pickup, that is, watering the designated friends

<<:  How to configure common software on Linux

>>:  Install mysql 5.6 from yum source in centos7.4 system

Recommend

Linux remote control windows system program (three methods)

Sometimes we need to remotely run programs on the...

A brief discussion on several advantages of Vue3

Table of contents 1. Source code 1.1 Monorepo 1.2...

Detailed tutorial on installing Python 3.8.1 on Linux

This example takes the installation of Python 3.8...

Pure CSS meteor shower background sample code

GitHub address, you can star it if you like it Pl...

Methods for deploying MySQL services in Docker and the pitfalls encountered

I have been learning porters recently. I feel lik...

MySQL partitions existing tables in the data table

Table of contents How to operate Operation proces...

Rendering Function & JSX Details

Table of contents 1. Basics 2. Nodes, trees, and ...

Detailed process of installing Jenkins-2.249.3-1.1 with Docker

Table of contents 1. Install Docker 2. Pull the J...

Practice of el-cascader cascade selector in elementui

Table of contents 1. Effect 2. Main code 1. Effec...

Native JS realizes the special effect of spreading love by mouse sliding

This article shares with you a js special effect ...

Command to view binlog file creation time in Linux

Table of contents background analyze method backg...