当前位置:网站首页>The psychological process from autojs to ice fox intelligent assistance

The psychological process from autojs to ice fox intelligent assistance

2022-07-06 06:55:00 There is a picture in the picture

 autojs It is undoubtedly a good one so far app Automation tools , Used to , I've also encountered many pits . I found it by chance when I was wandering on the Internet recently Ice fox intelligent assistant This platform , It can be realized only by configuring parameters without programming app automation , I am from the previous doubts 、 doubt , Try to do it , Later, I gradually fell in love with ice fox intelligent assistance . Now I'll take my own from autojs Go to the heart process of ice fox intelligent assistance and write it , For your reference when choosing tools .

Because I am not a professional developer , Know a little programming knowledge but not proficient , So every time I met a project before, I paid someone else to help write autojs To achieve , But what followed was a huge pit , In the later stage, due to various reasons ( Such as project change 、 perhaps app The interface of changes 、 Or the operation process changes ) When the script needs to be modified , I became very, very passive . People who develop scripts often ask exorbitant prices , A small change will cost hundreds ( Now it seems that ice fox only needs to modify a few parameters ,1 Minutes ), And a look of love , Very old-fashioned , But we can't refuse , Otherwise, the previous script will be developed in vain ( Even if you change your personal development script, you will probably encounter the same problem ).

About the beginning of this year, I accidentally found ice fox intelligent assistance on the Internet , The official claim is that you can solve all kinds of problems by configuring parameters without writing a line of code app Automation , At first I was skeptical ( I thought I could do it without programming , Aren't all programmers unemployed , You can't boast to heaven ), Later, I thought I'd better try , Try it without money , What if it's true , So I spent it 2 I took an hour to take a closer look at the documents and related video examples of automatic script construction , I think it's quite simple , So I found a video example of nail automatic clock in and did it once , Get it done , Sure enough, you can punch in automatically , It's fantastic , Later, I concentrated on studying ice fox intelligent assistance several times , Now you can skillfully handle any app It's automated .

After being familiar with ice fox intelligent assistance , Let me take the previous one autojs The project is implemented once with the automatic build script assisted by Bing Hu intelligence , I will no longer be passive in any change of subsequent projects , The whole development cost of the project is much lower than before . Now I have basically abandoned autojs 了 , Now ice fox intelligent assistance is my new favorite , Ha ha ha !

The following is an example of nail automatic clock in , Explain how to use ice fox intelligent assistance :

Familiar with business logic

Understand the process of manual nailing and punching , That is, be familiar with business logic , Suggested choice nailing v6.5.10 edition ( The operation interface of other versions may be slightly different , Therefore, the module parameters may need to be modified according to the actual situation ).

Select the module and configure the parameters

On the web side 「 Mobile 」/「 Build scripts automatically 」 Create a new one in “ An automated build ”, According to the business logic of the previous step, select the appropriate automatic building module and configure parameters .

Metadata

In the process of configuring automatic building modules and parameters , The system will automatically generate json Format metadata is used to describe the selected modules and parameters , Using this metadata, you can quickly copy an identical “ An automated build ”.

//  Please create a new auto build , And then click " Metadata ", Copy the following metadata and save , The system will automatically generate a complete automatic build demo.
{
	"type": "root",
	"children": [{
		"type": "declareVar",
		"var": [{
			"name": "temp",
			"type": "normal",
			"initType": "null",
			"initValue": "null"
		}, {
			"name": "ret",
			"type": "normal",
			"initType": "null",
			"initValue": "null"
		}, {
			"name": "view",
			"type": "normal",
			"initType": "null",
			"initValue": "null"
		}, {
			"name": "viewContainer",
			"type": "normal",
			"initType": "null",
			"initValue": "null"
		}, {
			"name": "tag",
			"type": "normal",
			"initType": "null",
			"initValue": "null"
		}, {
			"name": "item",
			"type": "normal",
			"initType": "null",
			"initValue": "null"
		}, {
			"name": "index",
			"type": "normal",
			"initType": "null",
			"initValue": "null"
		}, {
			"name": "data",
			"type": "normal",
			"initType": "string",
			"initValue": ""
		}, {
			"name": "text",
			"type": "normal",
			"initType": "string",
			"initValue": ""
		}]
	}, {
		"type": "main",
		"desc": " Business logic entry ",
		"debug": false,
		"params": [],
		"children": [{
			"type": "launchApp",
			"desc": " start-up APP",
			"debug": false,
			"packageName": "com.alibaba.android.rimet",
			"tag": "txt: The workbench #",
			"false": {},
			"failed": "",
			"maxStep": 30,
			"children": [{
				"type": "clickAndEnter",
				"desc": " Click to enter the workbench ",
				"class": 1,
				"debug": false,
				"clickTag": "txt: The workbench #",
				"root": "",
				"clickWidgetIndex": 0,
				"family": [],
				"descendant": [],
				"checkTag": "txt: Application Center #",
				"mode": "2",
				"false": {},
				"failed": "",
				"duration": 500,
				"maxStep": "8",
				"beforeWait": 0,
				"afterWait": 0,
				"children": [{
					"type": "clickAndEnter",
					"desc": " Click to enter the attendance clock page ",
					"class": 1,
					"debug": false,
					"clickTag": "txt: Clock in #",
					"root": "",
					"clickWidgetIndex": "0",
					"family": [],
					"descendant": [],
					"checkTag": "txt: Statistics #",
					"mode": "2",
					"failed": "",
					"duration": "500",
					"maxStep": "8",
					"beforeWait": "0",
					"afterWait": "0",
					"children": [{
						"type": "click",
						"desc": " Click on the open ",
						"class": 1,
						"debug": false,
						"tag": "txt: clock in |txt: Clock out #",
						"root": "",
						"widgetIndex": "0",
						"family": [],
						"descendant": [],
						"mode": "3",
						"failed": "",
						"maxStep": "5",
						"longClick": false,
						"random": true,
						"duration": "5000",
						"beforeWait": "0",
						"afterWait": "1000"
					}],
					"false": {}
				}]
			}]
		}]
	}],
	"desc": " Root module ",
	"debug": false
}                                    

Compile operation

1. On the web side 「 Mobile 」/「 Build scripts automatically 」 Click... On the right “ compile ” Button , Compile the auto build to the same name as the auto build js Script .

2. On the web side 「 Mobile 」/「 Mobile script 」 Click... On the right “ Release ” Button release script .

3. On the web side 「 Mobile 」/「 Mobile script 」 Click... On the right “ function ” Button , And select the device , And then execute .

原网站

版权声明
本文为[There is a picture in the picture]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/187/202207060645216316.html

随机推荐