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

Detailed explanation of Js class construction and inheritance cases

The definition and inheritance of classes in JS a...

Detailed explanation of how to select all child elements using CSS

How to recursively select all child elements usin...

Ubuntu installation cuda10.1 driver implementation steps

1. Download cuda10.1: NVIDIA official website lin...

Detailed Example of MySQL curdate() Function

MySQL CURDATE Function Introduction If used in a ...

Introduction to HTML page source code layout_Powernode Java Academy

Introduction to HTML page source code layout This...

Web Design Experience: 5 Excellent Web Design Concepts Full Analysis (Pictures)

Unlike other types of design, web design has been ...

js to achieve simple magnifying glass effects

This article example shares the specific code of ...

Detailed explanation of how to use Vue to load weather components

This article shares with you how to use Vue to lo...

How to change the encoding of MySQL database to utf8mb4

The utf8mb4 encoding is a superset of the utf8 en...

Detailed explanation of FTP environment configuration solution (vsftpd)

1. Install vsftpd component Installation command:...

Introduction to Semantic XHTML Tags

The first point to make is that people can judge t...