Rewards刷积分脚本

快速获取 Rewards 积分

Rewards 是微软为了宣传自家游览器退出的一项计划,里面可以用积分兑换很多东西,最中意的就是京东的50元的现金券,还有100元的,但是不是每天都有问题需要进行搜索,所以,通过脚本搜索来进行获取积分

脚本是通过C语言来进行编写

脚本是通过40次不重复搜索内容进行搜索来达到快速获取积分

当然,次数也可以自己增加,具体视情况而定

操作

脚本的执行时间大约是5分钟

第三版 - 最新

之前的代码进行搜索的时候不是很稳定,对手机端搜索时要打开游览器的仿真设备这点可以参照第二版进行设置,这次对搜索和代码都做了以下几点的优化

搜索

手机上的搜索不在进行简单的ABC搜索的换成了洪荒的人物和法宝

代码

对代码进行了瘦身不再是那么臃肿,这次的代码可以更好的进行知道了要搜索哪些东西

搜索方式也由原来的模仿键盘的按下弹起换成先把搜索词复制到剪切板里面然后进行ctrl+v进行搜索,比之前稳定了不少

这次直接把编译好的放在下面点我前往;本次编译好的一共四个版本

  1. 第一个版本:可以有控制台,输入数字从而确定刷取那个端的积分,也可以一起刷
  2. 第二个版本:跟第一版的一样,不过没有了控制台,直接进行全端搜索
  3. 第三个版本:只搜索电脑端
  4. 第四个版本:只搜索移动端

根据自己的情况进行下载即可,第三版的源码就是第二个版本的源码,其他的版本是在第二版上稍作修改

这个版本搜索次数从10次关改成了5次关

注意事项—非常重要!!!

这里有几个小前置条件一定要完成,不然会导致手机端积分无法刷取(以下做的所有操作都是在Edge游览器里面)

  1. 一定要将游览器窗口最大化(这里是因为脚本会吧鼠标指针放到搜索框部分所以要最大化)
  2. 看看自己的F12是否管用(就是点击F12会出现前端代码页面的部分如果不能前往设置里面在系统和性能一栏里面的最下面找到并打开使用 F12 键打开开发人员工具
  3. 一定要开启仿真设备具体开启方法可以在废弃的第二版里面找到

第二版- 废弃

之前的代码只能是进行电脑端的积分刷取,这就导致手机上的60积分刷不到,每天都导致有60的积分从我手中溜走,很是难受

但是这次加强版来了~

这次在原有的基础上(1~174)的上面增加了代码,这次要刷取的手机端还要有几个条件,务必做到!!!没有做到就代表无法刷取成功

  1. 打开游览器上面的开发人员模式(F12),按键盘上的F12即可打开之后可以看到H5的代码显示框左上角有两个按钮 ,点击右边的切换仿真设备

  2. 选择图片图片中打对钩的,或者随便一个应该也可以

    记住一定要选不然无法刷取手机端积分

这次利用的原理就是,微软的bing引擎在电脑上点击F12并切换到仿真设备就可实现搜索手机端的积分也会增加

说明 - 废弃

解答代码语义

  1. SetWindowPos(hWnd, HWND_TOPMOST, 0, 0, 0, 0, SWP_NOMOVE | SWP_NOSIZE);
  2. printf(“执行第%d次\n”, i);
  3. system(“start https://cn.bing.com/search?q=曦暮流年“);
  4. Sleep(1500);
  5. system(“taskkill /f /im msedge.exe”);

第一行是进行窗口置顶

第二行是给出已经执行了几次的代码

第三行是进行bing搜索,当然 q= 后面的文字也是可以改的,改成什么,就搜索什么,不过没必要,只是单纯刷积分而已

第四行是进行延迟搜索,也就是搜索中间有时间间隔,这一步是为了防止搜索过快不给你记录积分也防止网页还没有成功搜索就被关闭

第五行是进行关闭游览器,我设置的是搜索够10个就关闭一下游览器

源码

第三版 - 半自动搜索 - 最新

下载第一版源码

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
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
#include <stdio.h>
#include <stdlib.h>
#include <windows.h>

void PC();

void YD();

void TC();

int main() {
HWND hWnd = GetForegroundWindow();
SetWindowPos(hWnd, HWND_TOPMOST, 0, 0, 0, 0, SWP_NOMOVE | SWP_NOSIZE);
system("mode con cols=50 lines=25");
system("title 曦暮流年 - Rewards 积分刷取");
while (1) {
printf("\t##########################\n");
printf("\t# #\n");
printf("\t# 曦 暮 流 年 #\n");
printf("\t# Rewards 积分刷取 #\n");
printf("\t# #\n");
printf("\t##########################\n\n\n");

printf("\t1. 全端一起刷\n");
printf("\t2. 刷电脑端\n");
printf("\t3. 刷移动端\n");
printf("\t0. 退出\n\n");

printf("\t刷取完之后会自动退出\n");
printf("\t刷取移动端时需要开启仿真设备\n");
printf("\t详情请前往www.ximuliunian.top\n\n");

int a;
printf("\t请输入数字编号:");
scanf("%d", &a);

switch (a) {
case 1:
PC();
YD();
TC();
return 0;

case 2:
PC();
TC();
return 0;

case 3:
YD();
TC();
return 0;

case 0:
printf("感谢使用 再见!");
Sleep(2000);
exit(0);

default:
system("CLS");
printf("输入的不是应有的编号哦~~~\n");
printf("请重新输入\n\n");
}
}
}

void PC() {
char gjz_1[40][20] = {
"行宫", "登鹳雀楼", "新嫁娘词", "白居易", "岑参", "常建", "陈陶", "陈子昂", "崔颢", "崔曙",
"崔涂", "戴叔伦", "杜甫", "杜牧", "杜审言", "杜荀鹤", "高适", "顾况", "韩翃", "韩偓",
"韩愈", "贺知章", "皇甫冉", "贾岛", "金昌绪", "李白", "李端", "李频", "李颀", "李商隐",
"李益", "刘长卿", "刘方平", "刘昚虚", "刘禹锡", "柳中庸", "柳宗元", "卢纶", "骆宾王", "马戴"
};

int i;
for (i = 0; i < 40; i++) {
char wz[] = "start https://cn.bing.com/search?q=";
printf("电脑端 - 执行第%d次\n", i + 1);
system(strcat(wz, gjz_1[i]));
Sleep(2000);
if ((i + 1) % 5 == 0) {
Sleep(1000);
system("taskkill /f /im msedge.exe");
printf("\n\n");
}
}
system("taskkill /f /im msedge.exe");
}

void YD() {
char gjz_2[30][20] = {
"曦暮流年", "三皇五帝", "伏羲", "神农", "黄帝", "颛顼", "帝喾", "唐尧", "虞舜", "天帝",
"轩辕剑", "东皇钟", "盘古斧", "炼妖壶", "射日弓", "伏羲琴", "补天石", "崆峒印", "昆仑镜", "女娲石",
"开天斧", "山河社稷图", "玲珑塔", "混沌珠", "乾坤袋", "封天印", "太极图", "盘古幡", "诛仙剑阵", "先天五行旗"
};

int j;
for (j = 0; j < 30; j++) {

printf("手机端 - 执行第%d次\n", j + 1);
ShellExecuteA(0, "open", "https://www.bing.com", 0, 0, 1);
Sleep(1000);
keybd_event(VK_F12, 0, 0, 0);
keybd_event(VK_F12, 0, 2, 0);
Sleep(3000);
SetCursorPos(300, 50);
mouse_event(MOUSEEVENTF_LEFTDOWN, 0, 0, 0, 0);
mouse_event(MOUSEEVENTF_LEFTUP, 0, 0, 0, 0);
Sleep(2000);
char echo[] = "echo ";
char clip[] = " | clip";
system(strcat(strcat(echo, gjz_2[j]), clip));
keybd_event(VK_CONTROL, 0, 0, 0);
keybd_event('V', 0, 0, 0);
keybd_event('V', 0, 2, 0);
keybd_event(VK_CONTROL, 0, 2, 0);
Sleep(1000);
keybd_event(VK_RETURN, 0, 0, 0);
keybd_event(VK_RETURN, 0, 2, 0);
Sleep(2000);

if ((j + 1) % 5 == 0) {
Sleep(1000);
system("taskkill /f /im msedge.exe");
printf("\n\n");
}
}
system("taskkill /f /im msedge.exe");
}

void TC() {
system("CLS");
printf("执行完成,感谢使用,再见!");
Sleep(2000);
}

第三版 - 自动搜索 - 最新

下载第二版源码

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
#include <stdio.h>
#include <stdlib.h>
#include <windows.h>

int main() {
HWND hWnd = GetForegroundWindow();
SetWindowPos(hWnd, HWND_TOPMOST, 0, 0, 0, 0, SWP_NOMOVE | SWP_NOSIZE);
system("mode con cols=50 lines=25");
system("title 曦暮流年 - Rewards 积分刷取");
char gjz_1[40][20] = {
"行宫", "登鹳雀楼", "新嫁娘词", "白居易", "岑参", "常建", "陈陶", "陈子昂", "崔颢", "崔曙",
"崔涂", "戴叔伦", "杜甫", "杜牧", "杜审言", "杜荀鹤", "高适", "顾况", "韩翃", "韩偓",
"韩愈", "贺知章", "皇甫冉", "贾岛", "金昌绪", "李白", "李端", "李频", "李颀", "李商隐",
"李益", "刘长卿", "刘方平", "刘昚虚", "刘禹锡", "柳中庸", "柳宗元", "卢纶", "骆宾王", "马戴"
};

int i;
for (i = 0; i < 40; i++) {
char wz[] = "start https://cn.bing.com/search?q=";
printf("电脑端 - 执行第%d次\n", i + 1);
system(strcat(wz, gjz_1[i]));
Sleep(2000);

if ((i + 1) % 5 == 0) {
Sleep(1000);
system("taskkill /f /im msedge.exe");
printf("\n\n");
}
}
system("taskkill /f /im msedge.exe");


char gjz_2[30][20] = {
"曦暮流年", "三皇五帝", "伏羲", "神农", "黄帝", "颛顼", "帝喾", "唐尧", "虞舜", "天帝",
"轩辕剑", "东皇钟", "盘古斧", "炼妖壶", "射日弓", "伏羲琴", "补天石", "崆峒印", "昆仑镜", "女娲石",
"开天斧", "山河社稷图", "玲珑塔", "混沌珠", "乾坤袋", "封天印", "太极图", "盘古幡", "诛仙剑阵", "先天五行旗"
};

int j;
for (j = 0; j < 30; j++) {
printf("手机端 - 执行第%d次\n", j + 1);
ShellExecuteA(0, "open", "https://www.bing.com", 0, 0, 1);
Sleep(1000);
keybd_event(VK_F12, 0, 0, 0);
keybd_event(VK_F12, 0, 2, 0);
Sleep(3000);
SetCursorPos(300, 50);
mouse_event(MOUSEEVENTF_LEFTDOWN, 0, 0, 0, 0);
mouse_event(MOUSEEVENTF_LEFTUP, 0, 0, 0, 0);
Sleep(2000);
char echo[] = "echo ";
char clip[] = " | clip";
system(strcat(strcat(echo, gjz_2[j]), clip));
keybd_event(VK_CONTROL, 0, 0, 0);
keybd_event('V', 0, 0, 0);
keybd_event('V', 0, 2, 0);
keybd_event(VK_CONTROL, 0, 2, 0);
Sleep(1000);
keybd_event(VK_RETURN, 0, 0, 0);
keybd_event(VK_RETURN, 0, 2, 0);
Sleep(2000);

if ((j + 1) % 5 == 0) {
Sleep(1000);
system("taskkill /f /im msedge.exe");
printf("\n\n");
}
}
system("taskkill /f /im msedge.exe");
}

第二版 - 废弃

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
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
#include <stdio.h>
#include <stdlib.h>
#include <windows.h>

int main() {
HWND hWnd = GetForegroundWindow();
SetWindowPos(hWnd, HWND_TOPMOST, 0, 0, 0, 0, SWP_NOMOVE | SWP_NOSIZE);
printf("运行时间约五分种\n");
Sleep(1800);
int i = 1;

printf("第一阶段执行 - 电脑端\n");

SetWindowPos(hWnd, HWND_TOPMOST, 0, 0, 0, 0, SWP_NOMOVE | SWP_NOSIZE);
printf("电脑端 - 执行第%d次\n", i++);
system("start https://cn.bing.com/search?q=行宫");
Sleep(1200);

SetWindowPos(hWnd, HWND_TOPMOST, 0, 0, 0, 0, SWP_NOMOVE | SWP_NOSIZE);
printf("电脑端 - 执行第%d次\n", i++);
system("start https://cn.bing.com/search?q=登鹳雀楼");
Sleep(1200);

SetWindowPos(hWnd, HWND_TOPMOST, 0, 0, 0, 0, SWP_NOMOVE | SWP_NOSIZE);
printf("电脑端 - 执行第%d次\n", i++);
system("start https://cn.bing.com/search?q=新嫁娘词");
Sleep(1200);

SetWindowPos(hWnd, HWND_TOPMOST, 0, 0, 0, 0, SWP_NOMOVE | SWP_NOSIZE);
printf("电脑端 - 执行第%d次\n", i++);
system("start https://cn.bing.com/search?q=白居易");
Sleep(1200);

SetWindowPos(hWnd, HWND_TOPMOST, 0, 0, 0, 0, SWP_NOMOVE | SWP_NOSIZE);
printf("电脑端 - 执行第%d次\n", i++);
system("start https://cn.bing.com/search?q=岑参");
Sleep(1200);

SetWindowPos(hWnd, HWND_TOPMOST, 0, 0, 0, 0, SWP_NOMOVE | SWP_NOSIZE);
printf("电脑端 - 执行第%d次\n", i++);
system("start https://cn.bing.com/search?q=常建");
Sleep(1200);

SetWindowPos(hWnd, HWND_TOPMOST, 0, 0, 0, 0, SWP_NOMOVE | SWP_NOSIZE);
printf("电脑端 - 执行第%d次\n", i++);
system("start https://cn.bing.com/search?q=陈陶");
Sleep(1200);

SetWindowPos(hWnd, HWND_TOPMOST, 0, 0, 0, 0, SWP_NOMOVE | SWP_NOSIZE);
printf("电脑端 - 执行第%d次\n", i++);
system("start https://cn.bing.com/search?q=陈子昂");
Sleep(1200);

SetWindowPos(hWnd, HWND_TOPMOST, 0, 0, 0, 0, SWP_NOMOVE | SWP_NOSIZE);
printf("电脑端 - 执行第%d次\n", i++);
system("start https://cn.bing.com/search?q=崔颢");
Sleep(1200);

SetWindowPos(hWnd, HWND_TOPMOST, 0, 0, 0, 0, SWP_NOMOVE | SWP_NOSIZE);
printf("电脑端 - 执行第%d次\n", i++);
system("start https://cn.bing.com/search?q=崔曙");
Sleep(1800);

system("taskkill /f /im msedge.exe");
printf("第一阶段结束\n\n");
printf("第二阶段开始\n");

SetWindowPos(hWnd, HWND_TOPMOST, 0, 0, 0, 0, SWP_NOMOVE | SWP_NOSIZE);
printf("电脑端 - 执行第%d次\n", i++);
system("start https://cn.bing.com/search?q=崔涂");
Sleep(1200);

SetWindowPos(hWnd, HWND_TOPMOST, 0, 0, 0, 0, SWP_NOMOVE | SWP_NOSIZE);
printf("电脑端 - 执行第%d次\n", i++);
system("start https://cn.bing.com/search?q=戴叔伦");
Sleep(1200);

SetWindowPos(hWnd, HWND_TOPMOST, 0, 0, 0, 0, SWP_NOMOVE | SWP_NOSIZE);
printf("电脑端 - 执行第%d次\n", i++);
system("start https://cn.bing.com/search?q=杜甫");
Sleep(1200);

SetWindowPos(hWnd, HWND_TOPMOST, 0, 0, 0, 0, SWP_NOMOVE | SWP_NOSIZE);
printf("电脑端 - 执行第%d次\n", i++);
system("start https://cn.bing.com/search?q=杜牧");
Sleep(1200);

SetWindowPos(hWnd, HWND_TOPMOST, 0, 0, 0, 0, SWP_NOMOVE | SWP_NOSIZE);
printf("电脑端 - 执行第%d次\n", i++);
system("start https://cn.bing.com/search?q=杜审言");
Sleep(1200);

SetWindowPos(hWnd, HWND_TOPMOST, 0, 0, 0, 0, SWP_NOMOVE | SWP_NOSIZE);
printf("电脑端 - 执行第%d次\n", i++);
system("start https://cn.bing.com/search?q=杜荀鹤");
Sleep(1200);

SetWindowPos(hWnd, HWND_TOPMOST, 0, 0, 0, 0, SWP_NOMOVE | SWP_NOSIZE);
printf("电脑端 - 执行第%d次\n", i++);
system("start https://cn.bing.com/search?q=高适");
Sleep(1200);

SetWindowPos(hWnd, HWND_TOPMOST, 0, 0, 0, 0, SWP_NOMOVE | SWP_NOSIZE);
printf("电脑端 - 执行第%d次\n", i++);
system("start https://cn.bing.com/search?q=顾况");
Sleep(1200);

SetWindowPos(hWnd, HWND_TOPMOST, 0, 0, 0, 0, SWP_NOMOVE | SWP_NOSIZE);
printf("电脑端 - 执行第%d次\n", i++);
system("start https://cn.bing.com/search?q=韩翃");
Sleep(1200);

SetWindowPos(hWnd, HWND_TOPMOST, 0, 0, 0, 0, SWP_NOMOVE | SWP_NOSIZE);
printf("电脑端 - 执行第%d次\n", i++);
system("start https://cn.bing.com/search?q=韩偓");
Sleep(1800);

system("taskkill /f /im msedge.exe");
printf("第二阶段结束\n\n");
printf("第三阶段开始\n");

SetWindowPos(hWnd, HWND_TOPMOST, 0, 0, 0, 0, SWP_NOMOVE | SWP_NOSIZE);
printf("电脑端 - 执行第%d次\n", i++);
system("start https://cn.bing.com/search?q=韩愈");
Sleep(1200);

SetWindowPos(hWnd, HWND_TOPMOST, 0, 0, 0, 0, SWP_NOMOVE | SWP_NOSIZE);
printf("电脑端 - 执行第%d次\n", i++);
system("start https://cn.bing.com/search?q=贺知章");
Sleep(1200);

SetWindowPos(hWnd, HWND_TOPMOST, 0, 0, 0, 0, SWP_NOMOVE | SWP_NOSIZE);
printf("电脑端 - 执行第%d次\n", i++);
system("start https://cn.bing.com/search?q=皇甫冉");
Sleep(1200);

SetWindowPos(hWnd, HWND_TOPMOST, 0, 0, 0, 0, SWP_NOMOVE | SWP_NOSIZE);
printf("电脑端 - 执行第%d次\n", i++);
system("start https://cn.bing.com/search?q=贾岛");
Sleep(1200);

SetWindowPos(hWnd, HWND_TOPMOST, 0, 0, 0, 0, SWP_NOMOVE | SWP_NOSIZE);
printf("电脑端 - 执行第%d次\n", i++);
system("start https://cn.bing.com/search?q=金昌绪");
Sleep(1200);

SetWindowPos(hWnd, HWND_TOPMOST, 0, 0, 0, 0, SWP_NOMOVE | SWP_NOSIZE);
printf("电脑端 - 执行第%d次\n", i++);
system("start https://cn.bing.com/search?q=李白");
Sleep(1200);

SetWindowPos(hWnd, HWND_TOPMOST, 0, 0, 0, 0, SWP_NOMOVE | SWP_NOSIZE);
printf("电脑端 - 执行第%d次\n", i++);
system("start https://cn.bing.com/search?q=李端");
Sleep(1200);

SetWindowPos(hWnd, HWND_TOPMOST, 0, 0, 0, 0, SWP_NOMOVE | SWP_NOSIZE);
printf("电脑端 - 执行第%d次\n", i++);
system("start https://cn.bing.com/search?q=李频");
Sleep(1200);

SetWindowPos(hWnd, HWND_TOPMOST, 0, 0, 0, 0, SWP_NOMOVE | SWP_NOSIZE);
printf("电脑端 - 执行第%d次\n", i++);
system("start https://cn.bing.com/search?q=李颀");
Sleep(1200);

SetWindowPos(hWnd, HWND_TOPMOST, 0, 0, 0, 0, SWP_NOMOVE | SWP_NOSIZE);
printf("电脑端 - 执行第%d次\n", i);
system("start https://cn.bing.com/search?q=李商隐");
Sleep(1800);

system("taskkill /f /im msedge.exe");
printf("第三阶段结束\n\n");
printf("第四阶段开始\n");

SetWindowPos(hWnd, HWND_TOPMOST, 0, 0, 0, 0, SWP_NOMOVE | SWP_NOSIZE);
printf("执行第%d次\n", i++);
system("start https://cn.bing.com/search?q=李益");
Sleep(1200);

SetWindowPos(hWnd, HWND_TOPMOST, 0, 0, 0, 0, SWP_NOMOVE | SWP_NOSIZE);
printf("执行第%d次\n", i++);
system("start https://cn.bing.com/search?q=刘长卿");
Sleep(1200);

SetWindowPos(hWnd, HWND_TOPMOST, 0, 0, 0, 0, SWP_NOMOVE | SWP_NOSIZE);
printf("执行第%d次\n", i++);
system("start https://cn.bing.com/search?q=刘方平");
Sleep(1200);

SetWindowPos(hWnd, HWND_TOPMOST, 0, 0, 0, 0, SWP_NOMOVE | SWP_NOSIZE);
printf("执行第%d次\n", i++);
system("start https://cn.bing.com/search?q=刘昚虚");
Sleep(1200);

SetWindowPos(hWnd, HWND_TOPMOST, 0, 0, 0, 0, SWP_NOMOVE | SWP_NOSIZE);
printf("执行第%d次\n", i++);
system("start https://cn.bing.com/search?q=刘禹锡");
Sleep(1200);

SetWindowPos(hWnd, HWND_TOPMOST, 0, 0, 0, 0, SWP_NOMOVE | SWP_NOSIZE);
printf("执行第%d次\n", i++);
system("start https://cn.bing.com/search?q=柳中庸");
Sleep(1200);

SetWindowPos(hWnd, HWND_TOPMOST, 0, 0, 0, 0, SWP_NOMOVE | SWP_NOSIZE);
printf("执行第%d次\n", i++);
system("start https://cn.bing.com/search?q=柳宗元");
Sleep(1200);

SetWindowPos(hWnd, HWND_TOPMOST, 0, 0, 0, 0, SWP_NOMOVE | SWP_NOSIZE);
printf("执行第%d次\n", i++);
system("start https://cn.bing.com/search?q=卢纶");
Sleep(1200);

SetWindowPos(hWnd, HWND_TOPMOST, 0, 0, 0, 0, SWP_NOMOVE | SWP_NOSIZE);
printf("执行第%d次\n", i++);
system("start https://cn.bing.com/search?q=骆宾王");
Sleep(1200);

SetWindowPos(hWnd, HWND_TOPMOST, 0, 0, 0, 0, SWP_NOMOVE | SWP_NOSIZE);
printf("执行第%d次\n", i);
system("start https://cn.bing.com/search?q=马戴");
Sleep(1200);


system("taskkill /f /im msedge.exe");
printf("第四阶段结束\n\n");
printf("电脑端 - 执行完成\n");
printf("手机端 - 开始执行\n");
i = 1;
Sleep(3000);


printf("第五阶段开始\n");
printf("手机端 - 执行第%d次\n", i++);
keybd_event(VK_CAPITAL, 0, 0, 0);
keybd_event(VK_CAPITAL, 0, 2, 0);
ShellExecuteA(0, "open", "https://www.bing.com", 0, 0, 1);
Sleep(2000);
keybd_event(VK_F12, 0, 0, 0);
keybd_event(VK_F12, 0, 2, 0);
Sleep(1000);
SetCursorPos(300, 50);
mouse_event(MOUSEEVENTF_LEFTDOWN, 0, 0, 0, 0);
mouse_event(MOUSEEVENTF_LEFTUP, 0, 0, 0, 0); //左键松开
Sleep(1000);
keybd_event('A', 0, 0, 0);
keybd_event('A', 0, 2, 0);
keybd_event('A', 0, 0, 0);
keybd_event('A', 0, 2, 0);
Sleep(2000);
keybd_event(VK_RETURN, 0, 0, 0);
keybd_event(VK_RETURN, 0, 2, 0);
ShellExecuteA(0, "open", "https://www.bing.com", 0, 0, 1);
Sleep(2000);

printf("手机端 - 执行第%d次\n", i++);
keybd_event(VK_F12, 0, 0, 0);
keybd_event(VK_F12, 0, 2, 0);
Sleep(2000);
SetCursorPos(300, 50);
mouse_event(MOUSEEVENTF_LEFTDOWN, 0, 0, 0, 0);
mouse_event(MOUSEEVENTF_LEFTUP, 0, 0, 0, 0);
keybd_event('B', 0, 0, 0);
keybd_event('B', 0, 2, 0);
keybd_event('B', 0, 0, 0);
keybd_event('B', 0, 2, 0);
Sleep(1000);
keybd_event(VK_RETURN, 0, 0, 0);
keybd_event(VK_RETURN, 0, 2, 0);
ShellExecuteA(0, "open", "https://www.bing.com", 0, 0, 1);
Sleep(2000);

printf("手机端 - 执行第%d次\n", i++);
keybd_event(VK_F12, 0, 0, 0);
keybd_event(VK_F12, 0, 2, 0);
Sleep(2000);
SetCursorPos(300, 50);
mouse_event(MOUSEEVENTF_LEFTDOWN, 0, 0, 0, 0);
mouse_event(MOUSEEVENTF_LEFTUP, 0, 0, 0, 0);
keybd_event('C', 0, 0, 0);
keybd_event('C', 0, 2, 0);
keybd_event('C', 0, 0, 0);
keybd_event('C', 0, 2, 0);
Sleep(1000);
keybd_event(VK_RETURN, 0, 0, 0);
keybd_event(VK_RETURN, 0, 2, 0);
ShellExecuteA(0, "open", "https://www.bing.com", 0, 0, 1);
Sleep(2000);

printf("手机端 - 执行第%d次\n", i++);
keybd_event(VK_F12, 0, 0, 0);
keybd_event(VK_F12, 0, 2, 0);
Sleep(2000);
SetCursorPos(300, 50);
mouse_event(MOUSEEVENTF_LEFTDOWN, 0, 0, 0, 0);
mouse_event(MOUSEEVENTF_LEFTUP, 0, 0, 0, 0);
keybd_event('D', 0, 0, 0);
keybd_event('D', 0, 2, 0);
keybd_event('D', 0, 0, 0);
keybd_event('D', 0, 2, 0);
Sleep(1000);
keybd_event(VK_RETURN, 0, 0, 0);
keybd_event(VK_RETURN, 0, 2, 0);
ShellExecuteA(0, "open", "https://www.bing.com", 0, 0, 1);
Sleep(2000);

printf("手机端 - 执行第%d次\n", i++);
keybd_event(VK_F12, 0, 0, 0);
keybd_event(VK_F12, 0, 2, 0);
Sleep(2000);
SetCursorPos(300, 50);
mouse_event(MOUSEEVENTF_LEFTDOWN, 0, 0, 0, 0);
mouse_event(MOUSEEVENTF_LEFTUP, 0, 0, 0, 0);
keybd_event('E', 0, 0, 0);
keybd_event('E', 0, 2, 0);
keybd_event('E', 0, 0, 0);
keybd_event('E', 0, 2, 0);
Sleep(1000);
keybd_event(VK_RETURN, 0, 0, 0);
keybd_event(VK_RETURN, 0, 2, 0);
ShellExecuteA(0, "open", "https://www.bing.com", 0, 0, 1);
Sleep(2000);

printf("手机端 - 执行第%d次\n", i++);
keybd_event(VK_F12, 0, 0, 0);
keybd_event(VK_F12, 0, 2, 0);
Sleep(2000);
SetCursorPos(300, 50);
mouse_event(MOUSEEVENTF_LEFTDOWN, 0, 0, 0, 0);
mouse_event(MOUSEEVENTF_LEFTUP, 0, 0, 0, 0);
keybd_event('F', 0, 0, 0);
keybd_event('F', 0, 2, 0);
keybd_event('F', 0, 0, 0);
keybd_event('F', 0, 2, 0);
Sleep(1000);
keybd_event(VK_RETURN, 0, 0, 0);
keybd_event(VK_RETURN, 0, 2, 0);
ShellExecuteA(0, "open", "https://www.bing.com", 0, 0, 1);
Sleep(2000);

printf("手机端 - 执行第%d次\n", i++);
keybd_event(VK_F12, 0, 0, 0);
keybd_event(VK_F12, 0, 2, 0);
Sleep(2000);
SetCursorPos(300, 50);
mouse_event(MOUSEEVENTF_LEFTDOWN, 0, 0, 0, 0);
mouse_event(MOUSEEVENTF_LEFTUP, 0, 0, 0, 0);
keybd_event('G', 0, 0, 0);
keybd_event('G', 0, 2, 0);
keybd_event('G', 0, 0, 0);
keybd_event('G', 0, 2, 0);
Sleep(1000);
keybd_event(VK_RETURN, 0, 0, 0);
keybd_event(VK_RETURN, 0, 2, 0);
ShellExecuteA(0, "open", "https://www.bing.com", 0, 0, 1);
Sleep(2000);

printf("手机端 - 执行第%d次\n", i++);
keybd_event(VK_F12, 0, 0, 0);
keybd_event(VK_F12, 0, 2, 0);
Sleep(2000);
SetCursorPos(300, 50);
mouse_event(MOUSEEVENTF_LEFTDOWN, 0, 0, 0, 0);
mouse_event(MOUSEEVENTF_LEFTUP, 0, 0, 0, 0);
keybd_event('H', 0, 0, 0);
keybd_event('H', 0, 2, 0);
keybd_event('H', 0, 0, 0);
keybd_event('H', 0, 2, 0);
Sleep(1000);
keybd_event(VK_RETURN, 0, 0, 0);
keybd_event(VK_RETURN, 0, 2, 0);
ShellExecuteA(0, "open", "https://www.bing.com", 0, 0, 1);
Sleep(2000);

printf("手机端 - 执行第%d次\n", i++);
keybd_event(VK_F12, 0, 0, 0);
keybd_event(VK_F12, 0, 2, 0);
Sleep(2000);
SetCursorPos(300, 50);
mouse_event(MOUSEEVENTF_LEFTDOWN, 0, 0, 0, 0);
mouse_event(MOUSEEVENTF_LEFTUP, 0, 0, 0, 0);
keybd_event('I', 0, 0, 0);
keybd_event('I', 0, 2, 0);
keybd_event('I', 0, 0, 0);
keybd_event('I', 0, 2, 0);
Sleep(1000);
keybd_event(VK_RETURN, 0, 0, 0);
keybd_event(VK_RETURN, 0, 2, 0);
ShellExecuteA(0, "open", "https://www.bing.com", 0, 0, 1);
Sleep(2000);

printf("手机端 - 执行第%d次\n", i++);
keybd_event(VK_F12, 0, 0, 0);
keybd_event(VK_F12, 0, 2, 0);
Sleep(2000);
SetCursorPos(300, 50);
mouse_event(MOUSEEVENTF_LEFTDOWN, 0, 0, 0, 0);
mouse_event(MOUSEEVENTF_LEFTUP, 0, 0, 0, 0);
keybd_event('J', 0, 0, 0);
keybd_event('J', 0, 2, 0);
keybd_event('J', 0, 0, 0);
keybd_event('J', 0, 2, 0);
Sleep(1000);
keybd_event(VK_RETURN, 0, 0, 0);
keybd_event(VK_RETURN, 0, 2, 0);
Sleep(2000);
keybd_event(VK_CAPITAL, 0, 0, 0);
keybd_event(VK_CAPITAL, 0, 2, 0);
Sleep(3000);


system("taskkill /f /im msedge.exe");
printf("第五阶段结束\n\n");
printf("第六阶段开始\n\n");
Sleep(2000);


printf("手机端 - 执行第%d次\n", i++);
keybd_event(VK_CAPITAL, 0, 0, 0);
keybd_event(VK_CAPITAL, 0, 2, 0);
ShellExecuteA(0, "open", "https://www.bing.com", 0, 0, 1);
Sleep(3000);
keybd_event(VK_F12, 0, 0, 0);
keybd_event(VK_F12, 0, 2, 0);
Sleep(1000);
SetCursorPos(300, 50);
mouse_event(MOUSEEVENTF_LEFTDOWN, 0, 0, 0, 0);
mouse_event(MOUSEEVENTF_LEFTUP, 0, 0, 0, 0); //左键松开
Sleep(1000);
keybd_event('K', 0, 0, 0);
keybd_event('K', 0, 2, 0);
keybd_event('K', 0, 0, 0);
keybd_event('K', 0, 2, 0);
Sleep(2000);
keybd_event(VK_RETURN, 0, 0, 0);
keybd_event(VK_RETURN, 0, 2, 0);
ShellExecuteA(0, "open", "https://www.bing.com", 0, 0, 1);
Sleep(2000);

printf("手机端 - 执行第%d次\n", i++);
keybd_event(VK_F12, 0, 0, 0);
keybd_event(VK_F12, 0, 2, 0);
Sleep(2000);
SetCursorPos(300, 50);
mouse_event(MOUSEEVENTF_LEFTDOWN, 0, 0, 0, 0);
mouse_event(MOUSEEVENTF_LEFTUP, 0, 0, 0, 0);
keybd_event('L', 0, 0, 0);
keybd_event('L', 0, 2, 0);
keybd_event('L', 0, 0, 0);
keybd_event('L', 0, 2, 0);
Sleep(1000);
keybd_event(VK_RETURN, 0, 0, 0);
keybd_event(VK_RETURN, 0, 2, 0);
ShellExecuteA(0, "open", "https://www.bing.com", 0, 0, 1);
Sleep(2000);

printf("手机端 - 执行第%d次\n", i++);
keybd_event(VK_F12, 0, 0, 0);
keybd_event(VK_F12, 0, 2, 0);
Sleep(2000);
SetCursorPos(300, 50);
mouse_event(MOUSEEVENTF_LEFTDOWN, 0, 0, 0, 0);
mouse_event(MOUSEEVENTF_LEFTUP, 0, 0, 0, 0);
keybd_event('M', 0, 0, 0);
keybd_event('M', 0, 2, 0);
keybd_event('M', 0, 0, 0);
keybd_event('M', 0, 2, 0);
Sleep(1000);
keybd_event(VK_RETURN, 0, 0, 0);
keybd_event(VK_RETURN, 0, 2, 0);
ShellExecuteA(0, "open", "https://www.bing.com", 0, 0, 1);
Sleep(2000);

printf("手机端 - 执行第%d次\n", i++);
keybd_event(VK_F12, 0, 0, 0);
keybd_event(VK_F12, 0, 2, 0);
Sleep(2000);
SetCursorPos(300, 50);
mouse_event(MOUSEEVENTF_LEFTDOWN, 0, 0, 0, 0);
mouse_event(MOUSEEVENTF_LEFTUP, 0, 0, 0, 0);
keybd_event('N', 0, 0, 0);
keybd_event('N', 0, 2, 0);
keybd_event('N', 0, 0, 0);
keybd_event('N', 0, 2, 0);
Sleep(1000);
keybd_event(VK_RETURN, 0, 0, 0);
keybd_event(VK_RETURN, 0, 2, 0);
ShellExecuteA(0, "open", "https://www.bing.com", 0, 0, 1);
Sleep(2000);

printf("手机端 - 执行第%d次\n", i++);
keybd_event(VK_F12, 0, 0, 0);
keybd_event(VK_F12, 0, 2, 0);
Sleep(2000);
SetCursorPos(300, 50);
mouse_event(MOUSEEVENTF_LEFTDOWN, 0, 0, 0, 0);
mouse_event(MOUSEEVENTF_LEFTUP, 0, 0, 0, 0);
keybd_event('O', 0, 0, 0);
keybd_event('O', 0, 2, 0);
keybd_event('O', 0, 0, 0);
keybd_event('O', 0, 2, 0);
Sleep(1000);
keybd_event(VK_RETURN, 0, 0, 0);
keybd_event(VK_RETURN, 0, 2, 0);
ShellExecuteA(0, "open", "https://www.bing.com", 0, 0, 1);
Sleep(2000);

printf("手机端 - 执行第%d次\n", i++);
keybd_event(VK_F12, 0, 0, 0);
keybd_event(VK_F12, 0, 2, 0);
Sleep(2000);
SetCursorPos(300, 50);
mouse_event(MOUSEEVENTF_LEFTDOWN, 0, 0, 0, 0);
mouse_event(MOUSEEVENTF_LEFTUP, 0, 0, 0, 0);
keybd_event('P', 0, 0, 0);
keybd_event('P', 0, 2, 0);
keybd_event('P', 0, 0, 0);
keybd_event('P', 0, 2, 0);
Sleep(1000);
keybd_event(VK_RETURN, 0, 0, 0);
keybd_event(VK_RETURN, 0, 2, 0);
ShellExecuteA(0, "open", "https://www.bing.com", 0, 0, 1);
Sleep(2000);

printf("手机端 - 执行第%d次\n", i++);
keybd_event(VK_F12, 0, 0, 0);
keybd_event(VK_F12, 0, 2, 0);
Sleep(2000);
SetCursorPos(300, 50);
mouse_event(MOUSEEVENTF_LEFTDOWN, 0, 0, 0, 0);
mouse_event(MOUSEEVENTF_LEFTUP, 0, 0, 0, 0);
keybd_event('Q', 0, 0, 0);
keybd_event('Q', 0, 2, 0);
keybd_event('Q', 0, 0, 0);
keybd_event('Q', 0, 2, 0);
Sleep(1000);
keybd_event(VK_RETURN, 0, 0, 0);
keybd_event(VK_RETURN, 0, 2, 0);
ShellExecuteA(0, "open", "https://www.bing.com", 0, 0, 1);
Sleep(2000);

printf("手机端 - 执行第%d次\n", i++);
keybd_event(VK_F12, 0, 0, 0);
keybd_event(VK_F12, 0, 2, 0);
Sleep(2000);
SetCursorPos(300, 50);
mouse_event(MOUSEEVENTF_LEFTDOWN, 0, 0, 0, 0);
mouse_event(MOUSEEVENTF_LEFTUP, 0, 0, 0, 0);
keybd_event('R', 0, 0, 0);
keybd_event('R', 0, 2, 0);
keybd_event('R', 0, 0, 0);
keybd_event('R', 0, 2, 0);
Sleep(1000);
keybd_event(VK_RETURN, 0, 0, 0);
keybd_event(VK_RETURN, 0, 2, 0);
ShellExecuteA(0, "open", "https://www.bing.com", 0, 0, 1);
Sleep(2000);

printf("手机端 - 执行第%d次\n", i++);
keybd_event(VK_F12, 0, 0, 0);
keybd_event(VK_F12, 0, 2, 0);
Sleep(2000);
SetCursorPos(300, 50);
mouse_event(MOUSEEVENTF_LEFTDOWN, 0, 0, 0, 0);
mouse_event(MOUSEEVENTF_LEFTUP, 0, 0, 0, 0);
keybd_event('S', 0, 0, 0);
keybd_event('S', 0, 2, 0);
keybd_event('S', 0, 0, 0);
keybd_event('S', 0, 2, 0);
Sleep(1000);
keybd_event(VK_RETURN, 0, 0, 0);
keybd_event(VK_RETURN, 0, 2, 0);
ShellExecuteA(0, "open", "https://www.bing.com", 0, 0, 1);
Sleep(2000);

printf("手机端 - 执行第%d次\n", i);
keybd_event(VK_F12, 0, 0, 0);
keybd_event(VK_F12, 0, 2, 0);
Sleep(2000);
SetCursorPos(300, 50);
mouse_event(MOUSEEVENTF_LEFTDOWN, 0, 0, 0, 0);
mouse_event(MOUSEEVENTF_LEFTUP, 0, 0, 0, 0);
keybd_event('T', 0, 0, 0);
keybd_event('T', 0, 2, 0);
keybd_event('T', 0, 0, 0);
keybd_event('T', 0, 2, 0);
Sleep(1000);
keybd_event(VK_RETURN, 0, 0, 0);
keybd_event(VK_RETURN, 0, 2, 0);
Sleep(3000);

keybd_event(VK_CAPITAL, 0, 0, 0);
keybd_event(VK_CAPITAL, 0, 2, 0);

system("taskkill /f /im msedge.exe");
printf("第六阶段结束\n\n");
printf("第七阶段开始\n\n");
Sleep(2000);


printf("手机端 - 执行第%d次\n", i++);
keybd_event(VK_CAPITAL, 0, 0, 0);
keybd_event(VK_CAPITAL, 0, 2, 0);
ShellExecuteA(0, "open", "https://www.bing.com", 0, 0, 1);
Sleep(3000);
keybd_event(VK_F12, 0, 0, 0);
keybd_event(VK_F12, 0, 2, 0);
Sleep(1000);
SetCursorPos(300, 50);
mouse_event(MOUSEEVENTF_LEFTDOWN, 0, 0, 0, 0);
mouse_event(MOUSEEVENTF_LEFTUP, 0, 0, 0, 0); //左键松开
Sleep(1000);
keybd_event('U', 0, 0, 0);
keybd_event('U', 0, 2, 0);
keybd_event('U', 0, 0, 0);
keybd_event('U', 0, 2, 0);
Sleep(2000);
keybd_event(VK_RETURN, 0, 0, 0);
keybd_event(VK_RETURN, 0, 2, 0);
ShellExecuteA(0, "open", "https://www.bing.com", 0, 0, 1);
Sleep(2000);

printf("手机端 - 执行第%d次\n", i++);
keybd_event(VK_F12, 0, 0, 0);
keybd_event(VK_F12, 0, 2, 0);
Sleep(2000);
SetCursorPos(300, 50);
mouse_event(MOUSEEVENTF_LEFTDOWN, 0, 0, 0, 0);
mouse_event(MOUSEEVENTF_LEFTUP, 0, 0, 0, 0);
keybd_event('V', 0, 0, 0);
keybd_event('V', 0, 2, 0);
keybd_event('V', 0, 0, 0);
keybd_event('V', 0, 2, 0);
Sleep(1000);
keybd_event(VK_RETURN, 0, 0, 0);
keybd_event(VK_RETURN, 0, 2, 0);
ShellExecuteA(0, "open", "https://www.bing.com", 0, 0, 1);
Sleep(2000);

printf("手机端 - 执行第%d次\n", i++);
keybd_event(VK_F12, 0, 0, 0);
keybd_event(VK_F12, 0, 2, 0);
Sleep(2000);
SetCursorPos(300, 50);
mouse_event(MOUSEEVENTF_LEFTDOWN, 0, 0, 0, 0);
mouse_event(MOUSEEVENTF_LEFTUP, 0, 0, 0, 0);
keybd_event('W', 0, 0, 0);
keybd_event('W', 0, 2, 0);
keybd_event('W', 0, 0, 0);
keybd_event('W', 0, 2, 0);
Sleep(1000);
keybd_event(VK_RETURN, 0, 0, 0);
keybd_event(VK_RETURN, 0, 2, 0);
ShellExecuteA(0, "open", "https://www.bing.com", 0, 0, 1);
Sleep(2000);

printf("手机端 - 执行第%d次\n", i++);
keybd_event(VK_F12, 0, 0, 0);
keybd_event(VK_F12, 0, 2, 0);
Sleep(2000);
SetCursorPos(300, 50);
mouse_event(MOUSEEVENTF_LEFTDOWN, 0, 0, 0, 0);
mouse_event(MOUSEEVENTF_LEFTUP, 0, 0, 0, 0);
keybd_event('X', 0, 0, 0);
keybd_event('X', 0, 2, 0);
keybd_event('X', 0, 0, 0);
keybd_event('X', 0, 2, 0);
Sleep(1000);
keybd_event(VK_RETURN, 0, 0, 0);
keybd_event(VK_RETURN, 0, 2, 0);
ShellExecuteA(0, "open", "https://www.bing.com", 0, 0, 1);
Sleep(2000);

printf("手机端 - 执行第%d次\n", i++);
keybd_event(VK_F12, 0, 0, 0);
keybd_event(VK_F12, 0, 2, 0);
Sleep(2000);
SetCursorPos(300, 50);
mouse_event(MOUSEEVENTF_LEFTDOWN, 0, 0, 0, 0);
mouse_event(MOUSEEVENTF_LEFTUP, 0, 0, 0, 0);
keybd_event('Y', 0, 0, 0);
keybd_event('Y', 0, 2, 0);
keybd_event('Y', 0, 0, 0);
keybd_event('Y', 0, 2, 0);
Sleep(1000);
keybd_event(VK_RETURN, 0, 0, 0);
keybd_event(VK_RETURN, 0, 2, 0);
ShellExecuteA(0, "open", "https://www.bing.com", 0, 0, 1);
Sleep(2000);

printf("手机端 - 执行第%d次\n", i++);
keybd_event(VK_F12, 0, 0, 0);
keybd_event(VK_F12, 0, 2, 0);
Sleep(2000);
SetCursorPos(300, 50);
mouse_event(MOUSEEVENTF_LEFTDOWN, 0, 0, 0, 0);
mouse_event(MOUSEEVENTF_LEFTUP, 0, 0, 0, 0);
keybd_event('Z', 0, 0, 0);
keybd_event('Z', 0, 2, 0);
keybd_event('Z', 0, 0, 0);
keybd_event('Z', 0, 2, 0);
Sleep(1000);
keybd_event(VK_RETURN, 0, 0, 0);
keybd_event(VK_RETURN, 0, 2, 0);
Sleep(4000);

keybd_event(VK_CAPITAL, 0, 0, 0);
keybd_event(VK_CAPITAL, 0, 2, 0);
system("taskkill /f /im msedge.exe");
printf("第七阶段结束\n\n");
printf("程序执行完成");
Sleep(3000);
}

第一版 - 废弃

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
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
#include <stdio.h>
#include <stdlib.h>
#include <windows.h>

int main() {
HWND hWnd = GetForegroundWindow();
SetWindowPos(hWnd, HWND_TOPMOST, 0, 0, 0, 0, SWP_NOMOVE | SWP_NOSIZE);
printf("运行时间约五分种\n");
Sleep(1800);
int i = 1;

printf("第一阶段执行\n");

SetWindowPos(hWnd, HWND_TOPMOST, 0, 0, 0, 0, SWP_NOMOVE | SWP_NOSIZE);
printf("执行第%d次\n", i++);
system("start https://cn.bing.com/search?q=行宫");
Sleep(1200);

SetWindowPos(hWnd, HWND_TOPMOST, 0, 0, 0, 0, SWP_NOMOVE | SWP_NOSIZE);
printf("执行第%d次\n", i++);
system("start https://cn.bing.com/search?q=登鹳雀楼");
Sleep(1200);

SetWindowPos(hWnd, HWND_TOPMOST, 0, 0, 0, 0, SWP_NOMOVE | SWP_NOSIZE);
printf("执行第%d次\n", i++);
system("start https://cn.bing.com/search?q=新嫁娘词");
Sleep(1200);

SetWindowPos(hWnd, HWND_TOPMOST, 0, 0, 0, 0, SWP_NOMOVE | SWP_NOSIZE);
printf("执行第%d次\n", i++);
system("start https://cn.bing.com/search?q=白居易");
Sleep(1200);

SetWindowPos(hWnd, HWND_TOPMOST, 0, 0, 0, 0, SWP_NOMOVE | SWP_NOSIZE);
printf("执行第%d次\n", i++);
system("start https://cn.bing.com/search?q=岑参");
Sleep(1200);

SetWindowPos(hWnd, HWND_TOPMOST, 0, 0, 0, 0, SWP_NOMOVE | SWP_NOSIZE);
printf("执行第%d次\n", i++);
system("start https://cn.bing.com/search?q=常建");
Sleep(1200);

SetWindowPos(hWnd, HWND_TOPMOST, 0, 0, 0, 0, SWP_NOMOVE | SWP_NOSIZE);
printf("执行第%d次\n", i++);
system("start https://cn.bing.com/search?q=陈陶");
Sleep(1200);

SetWindowPos(hWnd, HWND_TOPMOST, 0, 0, 0, 0, SWP_NOMOVE | SWP_NOSIZE);
printf("执行第%d次\n", i++);
system("start https://cn.bing.com/search?q=陈子昂");
Sleep(1200);

SetWindowPos(hWnd, HWND_TOPMOST, 0, 0, 0, 0, SWP_NOMOVE | SWP_NOSIZE);
printf("执行第%d次\n", i++);
system("start https://cn.bing.com/search?q=崔颢");
Sleep(1200);

SetWindowPos(hWnd, HWND_TOPMOST, 0, 0, 0, 0, SWP_NOMOVE | SWP_NOSIZE);
printf("执行第%d次\n", i++);
system("start https://cn.bing.com/search?q=崔曙");
Sleep(1800);

system("taskkill /f /im msedge.exe");
printf("第一阶段结束\n\n");
printf("第二阶段开始\n");

SetWindowPos(hWnd, HWND_TOPMOST, 0, 0, 0, 0, SWP_NOMOVE | SWP_NOSIZE);
printf("执行第%d次\n", i++);
system("start https://cn.bing.com/search?q=崔涂");
Sleep(1200);

SetWindowPos(hWnd, HWND_TOPMOST, 0, 0, 0, 0, SWP_NOMOVE | SWP_NOSIZE);
printf("执行第%d次\n", i++);
system("start https://cn.bing.com/search?q=戴叔伦");
Sleep(1200);

SetWindowPos(hWnd, HWND_TOPMOST, 0, 0, 0, 0, SWP_NOMOVE | SWP_NOSIZE);
printf("执行第%d次\n", i++);
system("start https://cn.bing.com/search?q=杜甫");
Sleep(1200);

SetWindowPos(hWnd, HWND_TOPMOST, 0, 0, 0, 0, SWP_NOMOVE | SWP_NOSIZE);
printf("执行第%d次\n", i++);
system("start https://cn.bing.com/search?q=杜牧");
Sleep(1200);

SetWindowPos(hWnd, HWND_TOPMOST, 0, 0, 0, 0, SWP_NOMOVE | SWP_NOSIZE);
printf("执行第%d次\n", i++);
system("start https://cn.bing.com/search?q=杜审言");
Sleep(1200);

SetWindowPos(hWnd, HWND_TOPMOST, 0, 0, 0, 0, SWP_NOMOVE | SWP_NOSIZE);
printf("执行第%d次\n", i++);
system("start https://cn.bing.com/search?q=杜荀鹤");
Sleep(1200);

SetWindowPos(hWnd, HWND_TOPMOST, 0, 0, 0, 0, SWP_NOMOVE | SWP_NOSIZE);
printf("执行第%d次\n", i++);
system("start https://cn.bing.com/search?q=高适");
Sleep(1200);

SetWindowPos(hWnd, HWND_TOPMOST, 0, 0, 0, 0, SWP_NOMOVE | SWP_NOSIZE);
printf("执行第%d次\n", i++);
system("start https://cn.bing.com/search?q=顾况");
Sleep(1200);

SetWindowPos(hWnd, HWND_TOPMOST, 0, 0, 0, 0, SWP_NOMOVE | SWP_NOSIZE);
printf("执行第%d次\n", i++);
system("start https://cn.bing.com/search?q=韩翃");
Sleep(1200);

SetWindowPos(hWnd, HWND_TOPMOST, 0, 0, 0, 0, SWP_NOMOVE | SWP_NOSIZE);
printf("执行第%d次\n", i++);
system("start https://cn.bing.com/search?q=韩偓");
Sleep(1800);

system("taskkill /f /im msedge.exe");
printf("第二阶段结束\n\n");
printf("第三阶段开始\n");

SetWindowPos(hWnd, HWND_TOPMOST, 0, 0, 0, 0, SWP_NOMOVE | SWP_NOSIZE);
printf("执行第%d次\n", i++);
system("start https://cn.bing.com/search?q=韩愈");
Sleep(1200);

SetWindowPos(hWnd, HWND_TOPMOST, 0, 0, 0, 0, SWP_NOMOVE | SWP_NOSIZE);
printf("执行第%d次\n", i++);
system("start https://cn.bing.com/search?q=贺知章");
Sleep(1200);

SetWindowPos(hWnd, HWND_TOPMOST, 0, 0, 0, 0, SWP_NOMOVE | SWP_NOSIZE);
printf("执行第%d次\n", i++);
system("start https://cn.bing.com/search?q=皇甫冉");
Sleep(1200);

SetWindowPos(hWnd, HWND_TOPMOST, 0, 0, 0, 0, SWP_NOMOVE | SWP_NOSIZE);
printf("执行第%d次\n", i++);
system("start https://cn.bing.com/search?q=贾岛");
Sleep(1200);

SetWindowPos(hWnd, HWND_TOPMOST, 0, 0, 0, 0, SWP_NOMOVE | SWP_NOSIZE);
printf("执行第%d次\n", i++);
system("start https://cn.bing.com/search?q=金昌绪");
Sleep(1200);

SetWindowPos(hWnd, HWND_TOPMOST, 0, 0, 0, 0, SWP_NOMOVE | SWP_NOSIZE);
printf("执行第%d次\n", i++);
system("start https://cn.bing.com/search?q=李白");
Sleep(1200);

SetWindowPos(hWnd, HWND_TOPMOST, 0, 0, 0, 0, SWP_NOMOVE | SWP_NOSIZE);
printf("执行第%d次\n", i++);
system("start https://cn.bing.com/search?q=李端");
Sleep(1200);

SetWindowPos(hWnd, HWND_TOPMOST, 0, 0, 0, 0, SWP_NOMOVE | SWP_NOSIZE);
printf("执行第%d次\n", i++);
system("start https://cn.bing.com/search?q=李频");
Sleep(1200);

SetWindowPos(hWnd, HWND_TOPMOST, 0, 0, 0, 0, SWP_NOMOVE | SWP_NOSIZE);
printf("执行第%d次\n", i++);
system("start https://cn.bing.com/search?q=李颀");
Sleep(1200);

SetWindowPos(hWnd, HWND_TOPMOST, 0, 0, 0, 0, SWP_NOMOVE | SWP_NOSIZE);
printf("执行第%d次\n", i++);
system("start https://cn.bing.com/search?q=李商隐");
Sleep(1800);

system("taskkill /f /im msedge.exe");
printf("第三阶段结束\n\n");
printf("第四阶段开始\n");

SetWindowPos(hWnd, HWND_TOPMOST, 0, 0, 0, 0, SWP_NOMOVE | SWP_NOSIZE);
printf("执行第%d次\n", i++);
system("start https://cn.bing.com/search?q=李益");
Sleep(1200);

SetWindowPos(hWnd, HWND_TOPMOST, 0, 0, 0, 0, SWP_NOMOVE | SWP_NOSIZE);
printf("执行第%d次\n", i++);
system("start https://cn.bing.com/search?q=刘长卿");
Sleep(1200);

SetWindowPos(hWnd, HWND_TOPMOST, 0, 0, 0, 0, SWP_NOMOVE | SWP_NOSIZE);
printf("执行第%d次\n", i++);
system("start https://cn.bing.com/search?q=刘方平");
Sleep(1200);

SetWindowPos(hWnd, HWND_TOPMOST, 0, 0, 0, 0, SWP_NOMOVE | SWP_NOSIZE);
printf("执行第%d次\n", i++);
system("start https://cn.bing.com/search?q=刘昚虚");
Sleep(1200);

SetWindowPos(hWnd, HWND_TOPMOST, 0, 0, 0, 0, SWP_NOMOVE | SWP_NOSIZE);
printf("执行第%d次\n", i++);
system("start https://cn.bing.com/search?q=刘禹锡");
Sleep(1200);

SetWindowPos(hWnd, HWND_TOPMOST, 0, 0, 0, 0, SWP_NOMOVE | SWP_NOSIZE);
printf("执行第%d次\n", i++);
system("start https://cn.bing.com/search?q=柳中庸");
Sleep(1200);

SetWindowPos(hWnd, HWND_TOPMOST, 0, 0, 0, 0, SWP_NOMOVE | SWP_NOSIZE);
printf("执行第%d次\n", i++);
system("start https://cn.bing.com/search?q=柳宗元");
Sleep(1200);

SetWindowPos(hWnd, HWND_TOPMOST, 0, 0, 0, 0, SWP_NOMOVE | SWP_NOSIZE);
printf("执行第%d次\n", i++);
system("start https://cn.bing.com/search?q=卢纶");
Sleep(1200);

SetWindowPos(hWnd, HWND_TOPMOST, 0, 0, 0, 0, SWP_NOMOVE | SWP_NOSIZE);
printf("执行第%d次\n", i++);
system("start https://cn.bing.com/search?q=骆宾王");
Sleep(1200);

SetWindowPos(hWnd, HWND_TOPMOST, 0, 0, 0, 0, SWP_NOMOVE | SWP_NOSIZE);
printf("执行第%d次\n", i++);
system("start https://cn.bing.com/search?q=马戴");
Sleep(1200);

system("taskkill /f /im msedge.exe");
printf("第四阶段结束\n\n");
printf("执行完成");
Sleep(3000);
}

下载

第一版:点击下载

第二版:点击下载

第三版:点击下载

第四版:点击下载