跳到主要內容

發表文章

123Autoit nonroot tutorial

Background Info:
This App doesn't require Root Permission, it works by setting up Page with Checkpoints and Action with SC(screen captured images), if all checkpoints matched then it will trigger Action.
So CheckPoint and Action, to create a complete Automation Flow, pages with checkpoints and Action in it.
Assumption your device is start the Accessibility Service and your android version is 7.0 or above

For General Question: check out here


if not please start take a look here

for android Device 7.0 or above (no Computer required)
http://123autoit.blogspot.com/2016/08/123autoit-non-root-daemon-service.html

for android device Under 7.0 (which require Computer to complete the setup)
http://123autoit.blogspot.com/2016/08/123autoit-non-root-daemon-service.html

All Test is done using this app. or you can use any other app, it would work the same.
https://play.google.com/store/apps/details?id=com.test.automate

1 tutorial:

when see this title Red rectangle in this location Red circl…
最近的文章

123Autoit-nonRoot Nox Emulator

Pre-requirement: Nox Emulator Android 5.1 + PC Daemon Service

Start your Nox Emulator
DOS console go to "123Autoit Daemon Service unzipped folder path"

Type:adb connect localhost:62001


and type run.bat (this should be within the unzipped folder

just in case check the daemon script
type: ps -x|grep autoit-native

go to 123Autoit setting see if Daemon Service is on

for Emulator, you also need to check the checkbox"PC Daemon Service image capture(emulator)
and also you need to check "Screencapture auto rotate image" for landscape mode game.
Demo Script
Nox Config: Android 5.1
Resolution Setting:Mobile phone 720x1280
App: Empires&Puzzle (language:English)
Requirement: pass the beginner tutorial
Function:
   automate in battle
   selectable replay/next
   selectable buyRefill/ cancelRefill

Script download page:
https://drive.google.com/open?id=1YCrtWrkpqmldnvPb9PbFagDQ_shrGAp0
no need to unzip. put the zip file in /sdcard/autoitnonroot/import/



and then do a i…

Advance Mode API

Advance Mode:

getPixel(imageId,x,y,type)return {color string} type can be "long" or "hex"
eg: for color WHITE, long=16777215, hex=ffffff

eg: getPixel(0, 10,10,"hex");
0 is the screencaptured image id,
get the pixel x=10, y=10 from captured screen, with the result display using hex value

eg: getPixel(getImage("cache",0,50,50,100,100), 10,10,"long");
clip the image from screen capture for the range 50,50, 100, 100
and from that image get the pixel x=10, y=10 from captured screen, with the result display using long value

getJson(httpLink)return {JS Object}
{ "X-Cloud-Trace-Context": "64e17d0cf7ab6e9e8c394dc816617c5f/1407216343458726882", "Upgrade-Insecure-Requests": "1", "Accept-Language": "en-US,en;q=0.5", "Host": "headers.jsontest.com", "DNT": "1", "User-Agent": "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:59…

Alternative Daemon Service

Accessibility Service Download
Google Play : >>https://play.google.com/store/apps/details?id=com.autoit.nonroot.accessibilityVideo Instruction For Android Device 7.0+ 
-123Autoit NON ROOT >>https://play.google.com/store/apps/details?id=com.autoit.nonroot

















-Pretouch Semi auto >>https://play.google.com/store/apps/details?id=com.autoit.pretouch


























now enable to work without Daemon Service without computer

updated: faster and lighter 
 Newer version: added UI interaction for 123Autoit nonROOT click to open









click open accessibility






turn on the 123Autoit Accessibility









click on three dots








click on three strips















check the check box Alternative Service Android 7.0+ and
download the apk and install





For Pretouch Semi Auto 



Open pretouch semi auto
click on the blue circle







click on Edit



















check the Android 7.0+

Advanced Mode Revamp (高級模式修改)

For Subscribed User we have good news for you
for the latest released of 123Autoit nonroot you are able to do more with Check Points and handle more logic using Advanced Mode + Memory Checkpoint



Once you switched to Advance Mode
all your check point would have a CheckPoint Variable next to it,
the first check point A, 2nd B, and so on, and we will be able to control it later on in Advance Logic


We have added temp Memory variable from var0~var20

you can hold a numeric during the automation, and also allow to change it during the Advance logic

















Here we have an Example for you
"A" is the Checkpoint result, it is going to be true or false, make sure A is defined in your page

"var0" is a memory to keep a number value
"result" is a return for this overall check for this page if it is confirm.

so the logic means if A is true, then var0 set to 1
and if A is false, then var0 set to 2

and change this page from [Action Then Break] to [Action And Continue]
so it will p…

Revamp Basic tutorial