-
Notifications
You must be signed in to change notification settings - Fork 2
/
20221229.js
100 lines (83 loc) · 2.03 KB
/
20221229.js
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
auto.waitFor();
setScreenMetrics(1080, 2340);
toast("打开支付宝(2000)");
launchApp("支付宝");
sleep(2000);
toast("搜索全民消防学习平台(7500)")
click(380,156)
sleep(1500);
click(860,166)
sleep(1000);
click(451,1796)
sleep(400)
click(88,1477)
sleep(1000);
input(" 全民消防学习平台")
sleep(500);
click("搜索")
sleep(3000);
//alert("如果没能自动打开", "如果没能自动打开,请手动打开全民消防学习平台")
sleep(1000)
toast("进入全民消防学习平台(2500)")
click(392,554)
click("全民消防学习平台")
sleep(2500);
toast("开始学习第一篇文章(18500)")
click(386,1765)
sleep(4500)
swipe(585,1964,483,588,1000);
sleep(15000)
click(62,147)
sleep(2500);
swipe(585,1964,583,1665,1000);
toast("开始学习第二篇文章(18500)")
click(466,1828)
sleep(4500)
swipe(585,1964,483,588,1000);
sleep(15000)
click(62,147)
sleep(2500);
swipe(585,1964,583,1665,1000);
toast("开始学习第三篇文章(18500)")
click(466,1828)
sleep(4500)
swipe(585,1964,483,588,1000);
sleep(15000)
click(62,147)
sleep(2500);
swipe(585,1964,583,1665,1000);
toast("开始学习第四篇文章(18500)")
click(466,1828)
sleep(4500)
swipe(585,1964,483,588,1000);
sleep(15000)
click(62,147)
sleep(2500);
swipe(585,1964,583,1665,1000);
toast("开始学习第五篇文章(18500)")
click(466,1828)
sleep(4500)
swipe(585,1964,483,588,1000);
sleep(15000)
swipe(945,387,25,399,1000);
sleep(500)
swipe(945,387,25,399,1000);
toast("开始刷第一个短视频(58500)")
click(962,405)
swipe(436,2030,309,325,1000);
sleep(500)
swipe(436,2030,309,325,1000);
sleep(55000)
toast("开始刷第二个短视频(58500)")
swipe(436,2030,309,325,1000);
sleep(55000)
toast("开始刷第三个短视频(58500)")
swipe(436,2030,309,325,1000);
sleep(55000)
toast("开始刷第四个短视频(58500)")
swipe(436,2030,309,325,1000);
sleep(55000)
toast("开始刷第五个短视频(58500)")
swipe(436,2030,309,325,1000);
sleep(55000)
alert("执行完成~", "脚本作者:洮羱芝闇(https://github.com/tyza66)")