跳到主要內容

123autoit non-root (後台服務) daemon service

this service works for
   123autoit non-root (android 5.0+)
   123autoit non-root legacy (android 4.2~4.4)
   PreTouch -Semi Auto
    123GridTouch
Autoit Native Service


**************************

>>>>Download1.5.2<<<< Added Record and Play Back Action 

new package has added additional "output2" file, and autoit-native has been updated, so make sure all files has been copied to your device before use. 


This service start up only required when mobile is first installed/ mobile has been restarted

1). set your mobile to developer mode


-enable USB debugging  

 -change USB computer connection and enable MTP Mode 
    < updated 20161220 Thx for Huan provide this information)
<Updated for xiaomi phone
Usb debugging (security settings) also need to be enabled 20170401

-also set the Show touches, and Pointer Location, 
so that you can see where exactly where and when automation happening on your device

2). connect your mobile to a Windows Machine
3). open the folder and click run.bat
    <if dos mode console is disappeared go to step (4)
    <if dos mode console still on screen go to step (6)
4). accept connection from the mobile dialog


5). run the run.bat again
6). in console type in the "ps -x|grep autoit-native" to check if the service is running
    You should see something like this
    shell     21343 1     816    24    008ad71c 000200ec S /data/local/tmp/autoit-native (u:0, s:0)
7). if yes then unplug the cable, and your mobile is ready to Automate
   
    if not type to the console
     /data/local/tmp/autoit-native /data/local/tmp/autoit-native.log
     and then press Enter
8). check the service again by typing "ps -x|grep autoit-native


9) if still doesn't work please remove autoit-native1.3/ADB.exe, and start again the run.bat
repeat the step 5
<updated 20170123 let me know if you have any problem starting it

If still doesn't work
try download one of the following and replace the ADB.exe,AdbWinApi.dll, AdbWinUsbApi.dll  from
https://dl.google.com/android/repository/platform-tools_r26.0.0-rc1-windows.zip
https://dl.google.com/android/repository/platform-tools_r25-windows.zip 
https://dl.google.com/android/repository/platform-tools_r24.0.4-windows.zip
https://dl.google.com/android/repository/platform-tools_r23.1.0-windows.zip

repeat the step 5 
<updated 20170421

If Device doesn't show the authenticate dialog, you will need to install the ADB USB driver manuelly< updated 20161228 Thx for Huan provide this information)
 

9)  it is something to do with the ADB interface Driver
Go to download from Google https://dl-ssl.google.com//android/repository/latest_usb_driver_windows.zip

Follow the instruction:
http://visualgdb.com/KB/usbdebug-manual/

and plug in your mobile to Windows and try again the above steps
<update 20170502


添加加速輸入處理 

>>>>Download 1.5.2<<<<<添加動作記錄和播放動作

新包添加了另外的“output2”文件,並且autoit-native已被更新,因此請確保所有文件已被複製到您的設備上才能使用。

這服務適用於

   123autoit non-root (安卓 5.0+)
   123autoit non-root legacy (安卓 4.2~4.4)
   PreTouch -Semi Auto
    123GridTouch

該服務啟動在首次安裝時/手機重新啟動

1)設置為開發者模式

    (-選擇開始USB偵錯
   -USB 電腦連 選取MTP < updated 20161220 Thx for Huan provide this information)

-小米系列 Usb 調試(安全設定)也要打開20170401
2)你的手機連接到Windows機器
3)打開文件夾,然後點擊的run.bat
    <如果DOS模式控制台消失轉到步驟(4)
    <如果DOS模式的控制台仍然在屏幕上轉到步驟(6)
4)接受來自移動連接對話框
5)再次運行的run.bat
6)在控制台輸入“ps -x| grep autoIt-native,以檢查服務是否正在運行
    您應該看到這樣

  shell     21343 1     816    24    008ad71c 000200ec S /data/local/tmp/autoit-native (u:0, s:0) 
7)如果是可以看到話那麼拔掉連接線,開始自動化

    如果沒有
看到手動輸入
    
/data/local/tmp/autoit-native /data/local/tmp/autoit-native.log
     然後按Enter
8)通過鍵入
"ps -x|grep autoit-native 再次檢查服務

9) 如果仍然不行,請刪除autoit-native1.3/ADB.exe, 用你安裝的ADB運行run.bat
從步驟5開始重複過程
<updated 20170123

如果還是不行

嘗試下載以下其中一個並替換
ADB.exe,AdbWinApi.dll, AdbWinUsbApi.dll  from
https://dl.google.com/android/repository/platform-tools_r26.0.0-rc1-windows.zip

https://dl.google.com/android/repository/platform-tools_r25-windows.zip 
https://dl.google.com/android/repository/platform-tools_r24.0.4-windows.zip
https://dl.google.com/android/repository/platform-tools_r23.1.0-windows.zip

repeat the step 5 
<updated 20170421 

如果手機沒出現連結金鑰
你需要去安裝您手機用的ADB USB driver
< updated 20161228 Thx for Huan provide this information)


9)從Google下載
https://dl-ssl.google.com//android/repository/latest_usb_driver_windows.zip
按照以下說明操作:
https://translate.google.com.tw/translate?hl=zh-TW&sl=en&u=http://visualgdb.com/KB/usbdebug-manual/&prev=search

並將您的手機插入Windows,然後重試上述步驟
<更新20170502

讓我知道如果你有啟動它的任何問題





這個網誌中的熱門文章

123autoit FFBE (com.square_enix.ffbejpn) tutorial

This is a simple Script for Framing FFBE It can do a Rotation of Framing of 1st,2nd Quest with the Controller at the bottom

Download Full Image

123AutoIt 教程6 - 識別頁面(範圍檢查) Tutorial6 - page identification(range check)

"記得開啟字幕"

我們將使用123AutoIt - Tester 為本教程的測試目標
在本教程中,我們將介紹基本的範圍檢查,
並設置頁面名稱和驗證頁面
+移最前
+[所有A組條件]和[所有B組條件]
[所有A組條件]和[任何B組條件]
之使用以及不同地方

"Remember to turn on Subtitle"

In this tutorial we will be using 123AutoIt - Tester as the testing target.
in this tutorial we will cover (Range Check), and setting up page name and validate page

+move front
+[All A Cons]and[All B Cons]
[All A Cons]and[Any B Cons]
their usage and differences