-
Notifications
You must be signed in to change notification settings - Fork 5
/
index.html
38 lines (37 loc) · 21.9 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
<!DOCTYPE html>
<html lang="en-US">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,initial-scale=1">
<title>About AutoTouch | AutoTouch Documents</title>
<meta name="generator" content="VuePress 1.9.9">
<link rel="icon" href="/favicon.ico">
<meta name="description" content="AutoTouch official documents">
<link rel="preload" href="/assets/css/0.styles.144c1593.css" as="style"><link rel="preload" href="/assets/js/app.6767db17.js" as="script"><link rel="preload" href="/assets/js/3.5e6777c5.js" as="script"><link rel="preload" href="/assets/js/8.909cdf44.js" as="script"><link rel="prefetch" href="/assets/js/10.d28d1778.js"><link rel="prefetch" href="/assets/js/11.bb7d3036.js"><link rel="prefetch" href="/assets/js/12.959ceb5e.js"><link rel="prefetch" href="/assets/js/13.13e4f3e7.js"><link rel="prefetch" href="/assets/js/14.edb6f86e.js"><link rel="prefetch" href="/assets/js/15.82655811.js"><link rel="prefetch" href="/assets/js/4.8e8ea2dc.js"><link rel="prefetch" href="/assets/js/5.eee79492.js"><link rel="prefetch" href="/assets/js/6.171591a3.js"><link rel="prefetch" href="/assets/js/7.654f752a.js"><link rel="prefetch" href="/assets/js/9.070cd55f.js"><link rel="prefetch" href="/assets/js/vendors~flowchart.3568dda2.js">
<link rel="stylesheet" href="/assets/css/0.styles.144c1593.css">
</head>
<body>
<div id="app" data-server-rendered="true"><div class="theme-container"><header class="navbar"><div class="sidebar-button"><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" role="img" viewBox="0 0 448 512" class="icon"><path fill="currentColor" d="M436 124H12c-6.627 0-12-5.373-12-12V80c0-6.627 5.373-12 12-12h424c6.627 0 12 5.373 12 12v32c0 6.627-5.373 12-12 12zm0 160H12c-6.627 0-12-5.373-12-12v-32c0-6.627 5.373-12 12-12h424c6.627 0 12 5.373 12 12v32c0 6.627-5.373 12-12 12zm0 160H12c-6.627 0-12-5.373-12-12v-32c0-6.627 5.373-12 12-12h424c6.627 0 12 5.373 12 12v32c0 6.627-5.373 12-12 12z"></path></svg></div> <a href="/" aria-current="page" class="home-link router-link-exact-active router-link-active"><img src="/img/logo.png" alt="AutoTouch Documents" class="logo"> <span class="site-name can-hide">AutoTouch Documents</span></a> <div class="links"><div class="search-box"><input aria-label="Search" autocomplete="off" spellcheck="false" value=""> <!----></div> <nav class="nav-links can-hide"><div class="nav-item"><a href="https://autotouch.net" target="_blank" rel="noopener noreferrer" class="nav-link external">
Official Site
<span><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg> <span class="sr-only">(opens new window)</span></span></a></div><div class="nav-item"><div class="dropdown-wrapper"><button type="button" aria-label="Repos for Cydia" class="dropdown-title"><span class="title">Repositories</span> <span class="arrow down"></span></button> <button type="button" aria-label="Repos for Cydia" class="mobile-dropdown-title"><span class="title">Repositories</span> <span class="arrow right"></span></button> <ul class="nav-dropdown" style="display:none;"><li class="dropdown-item"><!----> <a href="https://beta.autotouch.net" target="_blank" rel="noopener noreferrer" class="nav-link external">
Beta Repo
<span><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg> <span class="sr-only">(opens new window)</span></span></a></li><li class="dropdown-item"><!----> <a href="https://apt.autotouch.net" target="_blank" rel="noopener noreferrer" class="nav-link external">
Official Repo
<span><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg> <span class="sr-only">(opens new window)</span></span></a></li></ul></div></div><div class="nav-item"><a href="https://license.autotouch.net" target="_blank" rel="noopener noreferrer" class="nav-link external">
Licenses
<span><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg> <span class="sr-only">(opens new window)</span></span></a></div> <!----></nav></div></header> <div class="sidebar-mask"></div> <aside class="sidebar"><nav class="nav-links"><div class="nav-item"><a href="https://autotouch.net" target="_blank" rel="noopener noreferrer" class="nav-link external">
Official Site
<span><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg> <span class="sr-only">(opens new window)</span></span></a></div><div class="nav-item"><div class="dropdown-wrapper"><button type="button" aria-label="Repos for Cydia" class="dropdown-title"><span class="title">Repositories</span> <span class="arrow down"></span></button> <button type="button" aria-label="Repos for Cydia" class="mobile-dropdown-title"><span class="title">Repositories</span> <span class="arrow right"></span></button> <ul class="nav-dropdown" style="display:none;"><li class="dropdown-item"><!----> <a href="https://beta.autotouch.net" target="_blank" rel="noopener noreferrer" class="nav-link external">
Beta Repo
<span><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg> <span class="sr-only">(opens new window)</span></span></a></li><li class="dropdown-item"><!----> <a href="https://apt.autotouch.net" target="_blank" rel="noopener noreferrer" class="nav-link external">
Official Repo
<span><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg> <span class="sr-only">(opens new window)</span></span></a></li></ul></div></div><div class="nav-item"><a href="https://license.autotouch.net" target="_blank" rel="noopener noreferrer" class="nav-link external">
Licenses
<span><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg> <span class="sr-only">(opens new window)</span></span></a></div> <!----></nav> <ul class="sidebar-links"><li><section class="sidebar-group collapsable depth-0"><a href="/" aria-current="page" class="sidebar-heading clickable router-link-exact-active router-link-active open active"><span>About AutoTouch</span> <span class="arrow down"></span></a> <ul class="sidebar-links sidebar-group-items"><li><a href="/" aria-current="page" class="active sidebar-link">About AutoTouch</a><ul class="sidebar-sub-headers"><li class="sidebar-sub-header"><a href="/#how-to-install" class="sidebar-link">How to install?</a></li><li class="sidebar-sub-header"><a href="/#how-to-use-activator" class="sidebar-link">How to use Activator?</a></li><li class="sidebar-sub-header"><a href="/#how-to-record" class="sidebar-link">How to record?</a></li><li class="sidebar-sub-header"><a href="/#how-to-play-script" class="sidebar-link">How to play script?</a></li><li class="sidebar-sub-header"><a href="/#how-to-take-screenshot" class="sidebar-link">How to take screenshot?</a></li><li class="sidebar-sub-header"><a href="/#how-to-write-a-script" class="sidebar-link">How to write a script?</a></li><li class="sidebar-sub-header"><a href="/#how-to-use-the-function-helper-while-script-coding" class="sidebar-link">How to use the "Function Helper" while script coding?</a></li><li class="sidebar-sub-header"><a href="/#how-to-write-and-manage-scripts-on-the-computer" class="sidebar-link">How to write and manage scripts on the computer?</a></li><li class="sidebar-sub-header"><a href="/#how-to-use-package-to-orgainize-the-script-project" class="sidebar-link">How to use Package to orgainize the script project?</a></li><li class="sidebar-sub-header"><a href="/#how-to-encrypt-the-scripts" class="sidebar-link">How to encrypt the scripts?</a></li><li class="sidebar-sub-header"><a href="/#how-to-sell-your-script-in-script-store" class="sidebar-link">How to sell your script in Script Store?</a></li><li class="sidebar-sub-header"><a href="/#how-to-download-and-buy-scripts-from-script-store" class="sidebar-link">How to download and buy scripts from Script Store?</a></li><li class="sidebar-sub-header"><a href="/#how-to-buy-autotouch-license" class="sidebar-link">How to buy AutoTouch license?</a></li></ul></li></ul></section></li><li><section class="sidebar-group collapsable depth-0"><a href="/lua" class="sidebar-heading clickable"><span>Lua</span> <span class="arrow right"></span></a> <!----></section></li><li><section class="sidebar-group collapsable depth-0"><a href="/js/" class="sidebar-heading clickable"><span>JavaScript</span> <span class="arrow right"></span></a> <!----></section></li><li><section class="sidebar-group collapsable depth-0"><a href="/js/jsbridge" class="sidebar-heading clickable"><span>JSBridge</span> <span class="arrow right"></span></a> <!----></section></li><li><section class="sidebar-group collapsable depth-0"><a href="/http-api" class="sidebar-heading clickable"><span>HTTP APIs</span> <span class="arrow right"></span></a> <!----></section></li><li><section class="sidebar-group collapsable depth-0"><a href="/release-notes" class="sidebar-heading clickable"><span>Release Notes</span> <span class="arrow right"></span></a> <!----></section></li></ul> </aside> <main class="page"> <div class="theme-default-content content__default"><h1 id="about-autotouch"><a href="#about-autotouch" class="header-anchor">#</a> About AutoTouch</h1> <p><code>Applicable to version 7.0.4 or higher</code></p> <div class="custom-block tip"><p class="custom-block-title">What is AutoTouch?</p> <ul><li>AutoTouch is a "Macro" tool used to record and playback human touching and pressing on the mobile device.</li> <li>It simulates touching and keys pressing.</li> <li>It runs Lua scripts.</li> <li>It provides several extended functions to achieve automation.</li> <li>It needs Jailbreak environment.</li> <li>It provides a Script Store to sell and buy scripts.</li></ul></div> <hr> <h2 id="how-to-install"><a href="#how-to-install" class="header-anchor">#</a> How to install?</h2> <ul><li>You can search and install AutoTouch in Cydia diredctly, it is released in BigBoss.</li> <li>You can also add the official repo: <a href="https://apt.autotouch.net" target="_blank" rel="noopener noreferrer">https://apt.autotouch.net<span><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg> <span class="sr-only">(opens new window)</span></span></a> to Cydia and install AutoTouch there.</li> <li>There is also a beta repo: <a href="https://beta.autotouch.net" target="_blank" rel="noopener noreferrer">https://beta.autotouch.net<span><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg> <span class="sr-only">(opens new window)</span></span></a> which contains more fresh but not so stable packages.</li></ul> <h2 id="how-to-use-activator"><a href="#how-to-use-activator" class="header-anchor">#</a> How to use Activator?</h2> <ul><li>By default AutoTouch uses volume decrease button holding or pressing to control everything, untill you install Activator by hand.</li> <li>Add official repo: http://rpetri.ch/repo/ to Cydia.</li> <li>Install Activator form that repo.</li> <li>AutoTouch will automatically detect Activator and use it as the default control method.</li> <li>Customize the actions you want to use to control AutoTouch by Activator.</li></ul> <h2 id="how-to-record"><a href="#how-to-record" class="header-anchor">#</a> How to record?</h2> <ul><li>At the interface where you want to start recording , hold volume decrease button (or other main control action set with Activator by youself, this point will not be repeated below) to call out the control panel.</li></ul> <blockquote><p><img src="https://i.imgur.com/ELcGi3A.png" alt="Control Panel"></p></blockquote> <ul><li>Press the "Record" button on the control panel to start recording.</li> <li>It will record all your touching and key pressing to a script until you stop it.</li> <li>Hold on volume decrease button (or other Activator action) again to stop the recording.</li> <li>Then, there will be a Lua script named with create time in the script list. You can edit, rename or playback it.</li></ul> <h2 id="how-to-play-script"><a href="#how-to-play-script" class="header-anchor">#</a> How to play script?</h2> <ul><li>Hold on volume decrease button to call out the control panel.</li> <li>Click the script you want to run.</li> <li>There is a play options button on the control panel, it will ask for options if you turn on it.</li> <li>There is a H button means hold mode, it will enter hold mode if you turn on it. In hold mode, every time your tap the volume down button(or action you set in Activator) it will start playing.</li> <li>Hold volume decrease button to forcedly stop the playing, or quit the <code>Hold mode</code> status.</li> <li>Long pressing volume down button will stop the playing forcely.</li></ul> <h2 id="how-to-take-screenshot"><a href="#how-to-take-screenshot" class="header-anchor">#</a> How to take screenshot?</h2> <ul><li>Press "Snap" button on the control panel to take screenshot, or just use iOS's screenshot method with which you are able to edit it directly.</li> <li>The screenshot will be saved as PNG image into "AutoTouch" album of iOS Photo Library, then it might be used to speficy parameters of getColors, findColors or findImage.</li></ul> <h2 id="how-to-write-a-script"><a href="#how-to-write-a-script" class="header-anchor">#</a> How to write a script?</h2> <ul><li>Press "+" button on top right of the local script list, choose “Create a script” to open the script editor.</li> <li>Write the code there.</li> <li>Press "save" button to save the script.</li></ul> <h2 id="how-to-use-the-function-helper-while-script-coding"><a href="#how-to-use-the-function-helper-while-script-coding" class="header-anchor">#</a> How to use the "Function Helper" while script coding?</h2> <ul><li>There are "Extensions", "Indent" and "Statements" buttons on top of the keyboard in the script editor. You can conveniently insert extended functions, indent or common statement of Lua Language.</li> <li>Press the "Extension" button to present the extended functions list, click a function to insert into the script diretly.</li> <li>Press the "HELPER" button on the function list, it will help you to determine the coordinates, colors or key flags for the functions.</li></ul> <blockquote><p><img src="https://i.imgur.com/ng2QWrz.png" alt="Function Helper"></p></blockquote> <h2 id="how-to-write-and-manage-scripts-on-the-computer"><a href="#how-to-write-and-manage-scripts-on-the-computer" class="header-anchor">#</a> How to write and manage scripts on the computer?</h2> <ul><li>Turn on Web Server at AutoTouch setting and visit the told URL from browser on computer. Manage scripts there.</li> <li>You can also turn on WebDAV Server and connect the told address with WebDAV client on computer.</li></ul> <h2 id="how-to-use-package-to-orgainize-the-script-project"><a href="#how-to-use-package-to-orgainize-the-script-project" class="header-anchor">#</a> How to use Package to orgainize the script project?</h2> <ul><li>You can create a Package as script project to contain different scripts, files and images etc. Package must have a <code>index.js</code> or <code>main.lua</code> file as the entrance of the execution. A Package in fact is a directory named with .at extension such as xxx.at.</li> <li>Package can be encrypted to xxx.ate which is also execuate-able and can be released to Script Store.</li></ul> <h2 id="how-to-encrypt-the-scripts"><a href="#how-to-encrypt-the-scripts" class="header-anchor">#</a> How to encrypt the scripts?</h2> <ul><li>Tap accessory button of a package or script in the local script list, choose "Encrypt".</li> <li>Input the encryption password. Or leave it blank if you don't want one.</li> <li>Press "Confirm" to complete the encryption. A encrypted file with the same name but ended with .lua.e or .ate will be generated in the script list then.</li> <li>You can play the encrypted scripts, or release them to Script Store.</li></ul> <h2 id="how-to-sell-your-script-in-script-store"><a href="#how-to-sell-your-script-in-script-store" class="header-anchor">#</a> How to sell your script in Script Store?</h2> <ul><li>Visit https://m.autotouch.net from browser on computer.</li> <li>Complete the details required to create a new script.</li> <li>Do provide a detailed and beautify html page for that script as the details page, a YouTube video will be much better.</li> <li>Upload a encrypted script or package as a new version to this script.</li> <li>Wait for the approvement.</li> <li>You should setup the Digital Rights Management in the script by yourself, AutoTouch Script Store can not help you by now.</li></ul> <h2 id="how-to-download-and-buy-scripts-from-script-store"><a href="#how-to-download-and-buy-scripts-from-script-store" class="header-anchor">#</a> How to download and buy scripts from Script Store?</h2> <ul><li>You can directly download all scripts from the store.</li> <li>You need to contact the author to buy the decription password. Do be careful not to be cheated, AutoTouch can do nothing to protect your money provenly.</li></ul> <h2 id="how-to-buy-autotouch-license"><a href="#how-to-buy-autotouch-license" class="header-anchor">#</a> How to buy AutoTouch license?</h2> <ul><li>Tap License on AutoTouch settings to enter the license management view.</li> <li>Read the Instructions and do be aware that AutoTouch license has ONE YEAR validity period!</li> <li>It will automatically activate current device after the payment if you use PayPal (If failed just follow the next step).</li> <li>You can query bought licenses with your PayPal ID email, or any activated device SN.</li> <li>You can activate another device with a license after you query it out.</li> <li>You can also "Activate Current Device" diretly with a license key bought from other devices.</li> <li>You should make sure it shows "License Downloaded" at top-right of the License view after it's activated.</li> <li>It allows only one time activation a day, you may do it again after 24 hours if you need.</li></ul></div> <footer class="page-edit"><!----> <div class="last-updated"><span class="prefix">Last Updated:</span> <span class="time">a year ago</span></div></footer> <div class="page-nav"><p class="inner"><!----> <span class="next"><a href="/lua/">
Lua Guide
</a>
→
</span></p></div> </main></div><div class="global-ui"><!----></div></div>
<script src="/assets/js/app.6767db17.js" defer></script><script src="/assets/js/3.5e6777c5.js" defer></script><script src="/assets/js/8.909cdf44.js" defer></script>
</body>
</html>