当前位置:网站首页>Auto.js enables Taobao to quickly submit orders
Auto.js enables Taobao to quickly submit orders
2022-07-28 13:20:00 【Flechazo】
@[TOC] ( Taobao quickly submits orders )
Blogger is a novice ,( It's the first time to use and blog for the first time, hahaha ) Spare time use auto.js Wrote a small script for Taobao to quickly submit orders ,( This script applies to xxx front xx Payers are free of charge and other purposes ), The script is very simple , If there are errors or improvements , You are welcome to criticize and correct .
First step
Download and install auto.js, You can find it on the Internet auto.js download , Or click here to download , link :https://pan.baidu.com/s/1h3nsYtE4Na4-MMDbgxPQPw
Extraction code :k5j3
When the download is complete , open app, Click the plus sign in the lower right corner , And then click file , Copy the following code in , Then save .( Pay attention to the code 17 The line is modified to the time when you want to start snapping up )
The specific code is as follows :
"auto"
setScreenMetrics(1080, 1920);
toast(" The program runs , Opening Taobao ");
app.launchApp(" Mobile phone taobao ");
sleep(5000);
click(760,1840);// Click on the shopping cart
sleep(1000);
run();
// Get the difference between the expected time and the current time ,
// If less than 0 execute , Or wait for
function run(){
while(true){
var date = new Date().getTime();// Get the milliseconds of the current time
var advanceTime = (new Date("2019/11/10 18:21:00")).getTime();// Get the expected time in milliseconds
if(advanceTime-date<0){
sleep(100);
toast(" Script execution ");
sleep(10);
dian();
break;
}else{
toast("waiting");
sleep(100);
}
}
}
function dian(){
//textContains(" Future generations ").click();
click(167,1712);// Click Select all
sleep(200);
//textContains(" Settlement ").click();
click(880,1700);
toast(" Click settle ");
sleep(100);
// If an order is submitted Just click
while(true){
if(textContains(" place order ").exists()){
textContains(" place order ").click();
sleep(100);
break;
}else{
sleep(50);
}
}
toast(" Program completion , End operation ");
exit();
}
The second step
Open mobile taobao , Add the baby you want to buy to the shopping cart , Then enter the following interface :
The third step
go back to auto.js, Click on the run , Just ok La .
Look at it all , Brothers and sisters, please give a compliment before you leave .
边栏推荐
- [FPGA] FIR filter - half band filter
- With 433 remote control UV lamp touch chip-dlt8sa20a-jericho
- [Bi design teaching] STM32 and FreeRTOS realize low power consumption
- Full disclosure! Huawei cloud distributed cloud native technology and Practice
- 黑猫带你学eMMC协议第27篇:什么是eMMC的动态容量(Dynamic Capacity)?
- 企业数字化本质
- SSH port forwarding (Tunneling Technology)
- Chapter 6 promotion
- Dimming and color matching cool light touch chip-dlt8ma12ts-jericho
- .net for subtraction, intersection and union of complex type sets
猜你喜欢

How many times can the WordPress user name be changed? Attach the method of changing user name

Led aquarium lamp touch chip-dlt8t02s-jericho

Machine learning Basics - decision tree-12

I copied the bottom of the liquidated NFT, but was locked by opensea

Risk analysis of option trading
![[embedded C foundation] Part 6: super detailed explanation of common input and output functions](/img/eb/69264bc0d8e9349991b7b9e1b8ca22.png)
[embedded C foundation] Part 6: super detailed explanation of common input and output functions

Code layered management of interface testing based on RF framework

LeetCode每日一题(2196. Create Binary Tree From Descriptions)

How to improve deep learning performance?

管理区解耦架构见过吗?能帮客户搞定大难题的
随机推荐
Array, string de duplication
Automatic light sensing arm lamp touch chip-dlt8sa15b-jericho
Redis - Basics
Mysql中DQL基本练习
Why is crypto game changing the game industry?
Gamestop bear market entered NFT trading, and established game retailers took advantage of Web3 to make a second spring
我抄底了被清算的NFT,却被OpenSea上了锁
Pointnet++ Chinese Translation
Black cat takes you to learn EMMC protocol chapter 27: what is EMMC's dynamic capacity?
leetcode-190.颠倒二进制位
【嵌入式C基础】第4篇:运算符的使用
How does the vditor renderer achieve server-side rendering (SSR)?
为什么说Crypto游戏正在改变游戏产业?
MySQL 实践篇 —— 主从复制
【嵌入式C基础】第5篇:原码/反码/补码
Getderivedstatefromprops lifecycle
2020-12-27
Have a part of the game, after NFT is disabled in my world
CTO of youhaoda, MVP of Huawei cloud, and Zhang Shanyou: build cloud native applications based on kubernetes and dapr
黑猫带你学eMMC协议第24篇:eMMC的总线测试程序详解(CMD19 & CMD14)