Hello, I am handsome little rice rice, as mentioned in the last article, I was forced to teach myself automatic programming by my brother-in-law, if you are interested in my miserable experience, you can read my last article.

However, today is not sad, today to introduce you to automatic programming super handsome engine AutoJS.

What is autoJS?

Auto-.js is an app that can be used to develop scripts. It not only supports development, but also supports powerful functions such as packaging app and remote debugging. The most important thing is that it is easy to get started, without root, as long as you have an Android phone and understand JS.

To get your attention, let me show you how to click a button in an app on your phone using AutoJS.

                    let sendBtn = textContains("Send").findOnce();
                    sendBtn.click();
Copy the code

How, is not simple to cry out, MD, how can be so simple!!

Now let’s answer a question that many people are concerned about

What are the advantages of AutoJS? Why recommended?

  • Ditchroot for accessibility, the risk is one thing, but the important thing is that I don’t have to turn root on my phone just to play AutoJS.

  • It’s easy to get started, and you can write a lot of interesting scripts by looking at the auto-.js built-in tutorial.

  • Support for packaging, you can package scripts into APK files, which is a magic tool for me who don’t like to mess around.

Does it charge? After all, I am poor, otherwise it will not be boring to do video writing articles, play king not sweet

Look at the version, the latest version of the current charge, not expensive, 45 yuan permanent membership, but before 4.1 version are open source, and the function is basically the same, I have a membership, but I still use 4.1 version. So I’m still a VIP, rich and dirty

! ] (gitee.com/xi_fan/img/…).

If we are all VIP, why do we still use 4.1?

Because the latest versions are emasculated, the new version blocks many mainstream applications, while version 4.1 is still available, but version 4.1 has been removed from the entire network, and it is hard to find online without hidden plug-ins.

4.1 Why was such a diaosi removed?

I took an archaeology quiz on Github’s Issues forum and found these clues

Auto-.js is widely used in ash production. The author is afraid of the situation beyond his control, so he has no choice but to make such a choice.

However, the author also launched an Auto. Js Pro, I went to check, one-time charge 45 yuan, compared to the previous free version, Pro increased a lot of development to the function, and for the grey production of the limit, I estimate that many people see 45 dollars, should be directly ignored, anyway, I started so.

How do you get secure version 4.1?

With the net Auto. Js free version of the whole network off the shelf, now can see most of the revision is private, although my mother often taught me to be a good person, but other mothers have to teach really don’t know, so private revision is afraid there is a problem.

If you don’t trust the messy version circulating on the Internet, you can use the latest and most stable free version of Auto-.js provided by me at last.

How fun is AutoJS?

Give a few simple examples, such as the most common wechat delete zombie friends, before also saw a circle of friends to help remove, and then also charge, 8 yuan a time?? I blocked it on the spot.

The principle is as follows. I don’t know if you have heard of a trick. When you transfer money through wechat, the prompt message will change after the other party blocks you and deletes you.

A screenshot of the transfer under normal conditions, left, and a screenshot of the transfer after they delete you, right, without bothering them.

With a method of checking and requiring you to test each friend repeatedly, that’s what scripts are supposed to do, and if you’re doing it manually, it’s just stupid.

So just to show you what it looks like, when you run it you’ll see an interface alert.

Then click Test Friends on the main page and the script will actually run, testing each friend.

You end up with a list of normal and abnormal friends.

There’s also a nice option to delete your friends at the bottom.

Let me show you the GIF

Let me show you a still image to avoid some platforms that don’t play from LJ to GIF

To a free fish automatic comment, MY last article about this thing, interested can go to see, here to see the effect

Here it is. It looks like this

Really, using autoJS to do this, is simply rustling water, other awesome uses, you start your king always on the star of the brain to think about it, anyway, I still think of a lot of platinum.

Which begs the question, is it hard to operate? Hard ball, as I said above, gets a button in a few lines. Where can it go

What auto.js can do is a very imaginative thing in my opinion, because autoJS can handle repetitive actions as long as there is a trace.

Here are three scripts to introduce to you, I have added detailed remarks for you to try to learn.

  • Import the script

Since this article is for small white, I’d better start from the beginning.

There are still a lot of things to pay attention to when using auto-.js, but the most important thing is to enable accessibility.

A lot of people don’t know what barrier-free service is. Let me tell you something

So don’t be afraid to open the risk of what, in addition, the entire Autojs is relying on this barrier-free service, if you don’t open it also can’t use.

  • Open Autojs and create the script

Then open the App and enter its main page. You will find a plus sign in the lower right corner. Click the plus sign to choose whether to import a local script or create a blank file script.

Of course, you can also upload the script to the mobile phone through the computer wechat, and then import the script through auto-.js.

After this step, you can start scripting.

Where can I find software? And tutorials? And the community?

The point comes, I organized a plug-in programming documents and scripts have been implemented to provide learning, interested in learning automation scripts can take a look

Github address: github.com/wiatingpub/…

Code cloud address: gitee.com/xi_fan/auto…