The beginning of everything is the students wanted me to find a method of automatically punch . I think a lap later found to write the script analog punch.
With free root found automated assistant, studied for half an hour is really simple, but I break four red rice does not support click-screen, Android 7.0 and above to have to do. So at noon with my new phone (from zz) test half an hour, and finally succeeded, made a talk about celebrating yet no one would for a while to learn this script to make. I have no idea made into small procedures, final
Then Tencent classroom , every 6 seconds to send a flower to the teacher. How can I have been sent does not affect the lectures? I Baidu a click of the mouse even point, locate the mouse heroes. It supports 6s tap a location, just It is what I need.
School language requirements set forget when to start every day at noon to do classical sense exercises , 15min to do 20 channel selection . After the finish you can view the whole school rankings , with a score of first keyword , when used as a second key , the third key do not know what the . former times I was doing well , until one time after I finish Ding sent me a list of his brush vigorously screenshot Zhuge , I am very curious . the original group of people have the answer after on the fight hand speed hit list . I think hand speed quickly , and it will be the first time . the first would beat the pack to become the first . At first my wifi is not good , after getting up every day at noon to get the laptop wifi next the highest charting the beginning of the table , at that time also because he was nervous and trembling of the hands , often feel mistakes , but still with the same time . computer answer I have is higher than the starting point of the phone ,I changed the time after the mouse has improved a little , finally stabilized at 21s.20 channel selection coupled with the beginning of the name of the class selection page to a staggering average 1s a page .
With the script I started thinking about the writing experience how to program using script to download Wizard button, in the long list of commands that can be seen in the use of:. Findpicture statement in support of the computer found a particular path within a certain range of the screen image and record the coordinates, and the options for each question although the location may be different, but ABCD four starts is the same. there are every page below the "next question" button. this appeared leap, write four such a script and set the shortcut keys to 1234, each question are called after the name of the class Qiaowan answer this question corresponds to a script, but time is more than ten s like.
Since the beginning of the picture is with all of ABCD, recognition errors often occur and not be recognized. The last as long as improvements as part of the most characteristic, never again changed, we used the final.
After a few days think it is cool enough to write a for loop that does not so ah. So Sunday is not a job to ABCD rub together. Since then score again leap stable in the 7s, occasionally 6s. If you want to further problems will arise because of too fast.
= The Array A ( 999 , 2 , . 1 , . 4 , . 1 , . 1 , . 3 , . 4 , 2 , . 3 , . 4 , . 4 , . 3 , 2 , 2 , . 4 , . 4 , . 4 , . 1 , . 3 , . 1 ) // define a array a, now is the answer 20 questions today transformed into 1234 MoveTo 340 , 318 // move to the name box LeftClick 1 // left click the mouse The KeyPress " Q " , . 1 // press the q key the KeyPress " 2 " , . 1 // press 2, this time 'Qiu Yu' word came out the MoveTo 267 , 363 // move to the class block LeftClick . 1 // left mouse click SayString " 13 is " // input 13 is the MoveTo 332 , 447 // move to the next LeftClick . 1 // left mouse Delay 20 the For I = . 1 the to 20 // 20 cycles A IF (I) = . 1 the Then // If option A FindPic 0 , 0 , 700 , 700 , " C: \ the Users \ ASUS \ Desktop \ A.bmp " , 1.0 , X-, the Y // find the location of A.bmp and the presence of the two numbers X and Y coordinates in the MoveTo X + 10 , Y + 10 // moved to the X, Y position of a point shifted to the lower left corner LeftClick . 1 // left mouse button ElseIf a (I) = 2 the Then // if option B FindPic 0 , 0 , 700 ,700,"C:\Users\asus\Desktop\B.bmp",1.0, X, Y MoveTo X+10,Y+10 LeftClick 1 ElseIf A(i)=3 Then //选C FindPic 0,0,700,700,"C:\Users\asus\Desktop\C.bmp",1.0, X, Y MoveTo X+10,Y+10 LeftClick 1 Else //选D FindPic 0,0,700,700,"C:\Users\asus\Desktop\D.bmp",1.0,X, Y MoveTo X+10,Y+10 LeftClick 1 End If FindPic 0, 0, 700,700, "C:\Users\asus\Desktop\下一页.bmp", 1.0, X, Y MoveTo X+10, Y+10 LeftClick 1 Delay 20// later on the Next MoveTo 1 , 1 LeftClick 1
This is regarded as the largest written a script, and the back is a minor.
A copy and paste command can be applied to QQ brush "bucket map Emperor," "will pull up more will talk," "group chat me the most hi" and " lucky character" . Although I only brush a bucket Figure emperor and lucky characters .
For i=0 To 200 KeyDown 17, 1 KeyPress 86, 1 KeyUp 17, 1 KeyPress "Enter", 1 Next
To brush "Death Star who will not sun," I wrote to automatically send only visible to talk about their own script. Since the hair for a while will be banned, in order to avoid being Tencent father gank, played a while stopped .
While (1) FindPic 0, 0, 1024, 768, "C:\Users\asus\Desktop\内容.bmp", 1.0, X, Y MoveTo X+50,Y-50 LeftClick 1 KeyDown 17, 1 KeyPress 86, 1 KeyUp 17, 1 FindPic 0, 0, 1024, 768, "C:\Users\asus\Desktop\所有人可见.bmp", 1.0, X, Y MoveTo X, Y+5 LeftClick 1 Delay 1000 MoveTo X,Y+170 LeftClick 1 FindPic 0, 0, 1024, 768, "C:\Users\asus\Desktop\发表.bmp", 1.0, X, Y MoveTo X, Y LeftClick 1 Delay 3000 Wend
Even QQ automatically point praise I have done it. I found that after a day with the original turn of mutual praise after another out. Asked to know such a period point out like friends do not receive tips. So he abolished .
Rem here FindPic 0,0,1024,768,"C:\\赞.bmp",1.0,X,Y If (X > 0) Then MoveTo X +10, Y +10 Rem are LeftClick 1 Delay 1000 FindPic 0,0,1024,768,"C:\\够了!.bmp",1.0,X1,Y2 If X1 <=0 Then Goto are End If Delay 5000 Else MouseWheel - 3 Delay 2000 End If Goto here
This is what I long winter vacation a few interesting script written the script wizard. Very interesting and very grateful to them. School day after tomorrow, July 7 entrance, then there is no script available, come on!