当前位置:网站首页>Fishing detection software

Fishing detection software

2022-06-25 15:06:00 Knowledge first

One reason

It's nothing recently , Maybe it's a good way to fish , I have an idea , Make a software to detect fishing according to the number of mouse and button clicks !!!
In fact, for programmers , Just don't fish , I also want to see how many keyboards I have played in a day .

As a fisherman , Do whatever you say , It took two days to fish ( struggle ) Finally the software has been written !

Two Related links

(1) The code is badly written , But in csdn It shows , If not open source !!! Then this is playing hooligans .

Project open source address (gitee,GPL v3 agreement )https://gitee.com/jiangtao008/GoSlowDetection/tree/master

(2) Then there is software packaging , After downloading the link below, you can directly double-click to run .
Software is not very talented 1M Less than , How qt Development , Have you bought a commercial version ( Source code but not statically compiled ), So only dynamic libraries can be used , After packaging, the file reaches 18.5M, It's a little big .
Lanzou doesn't know why she can't register recently , You can only use Baidu cloud disk .

Executable download link ( Baidu cloud ):https://pan.baidu.com/s/1Vs80Zo3uDym2ryYe4t1Ziw Extraction code : aqh1

(3) This software , The interface aside , The main use of windows Hook technique , Please refer to the link below , Use the hook for one-time encapsulation .
qt Mouse and keyboard hook class design :https://blog.csdn.net/weixin_42887343/article/details/121636441

3、 ... and software function

1、 When it is turned on, it will keep the golden background ,3s Then switch to white transparent background .
Because the software is black and white ( The background is white and transparent , Icons and fonts are black ), Less visible on the desktop , I'm afraid I don't know where it is when I open it , So this function is added .
 Insert picture description here
2、 Desktop topping function , Always displayed at the top .
This is the most basic requirement , Software like this widget , It's basically the top taskbar ( Under the desktop ) Show hidden , Then you can add a function to cancel the top setting later .
 Insert picture description here
3、 Transparent and non transparent modes can be set
This mode is for black background , Because the black Icon 、 typeface , With the background transparent , The display content is not very obvious , So this function is added .
 Insert picture description here
4、 How long have you been fishing , How red the display is , Of course, after stopping fishing , Restore the original white background .
This function is the main function , The display strategy is 30s Test once , If there is no operation action , The displayed red color will be darker than the base color , Until it changes to a red opaque background .
The colors are 20 A gear ,30s * 20 = 10min, That is to say 10min No operation will be full red .
In any red gear , Just one operation , Restore the color as it is .
 Insert picture description here

5、 Start up automatic operation function . For ease of use , No manual opening is required , Therefore, the function of automatic startup setting is added .
This is also the basic function of small software .
Many software require this feature , So this part of the function is realized , I wrote articles alone , Please refer to the link :https://blog.csdn.net/weixin_42887343/article/details/121655301
 Insert picture description here
6、 Finally, close the software , Closing once or twice will automatically skip the position , need 30s Inside , close 3 Time to really quit .
This is a programmer , Little Play Naughty .
Because the software consumption is relatively small , The whole process operation will not affect the normal use of other software , If you are not sensitive to this widget , You can keep it open .
 Insert picture description here
7、 The software can be pulled by the mouse at will , There is also a magnetic attraction effect on the desktop boundary .
Most basic functions .

8、 Clear the counting function , This is the easiest to implement .
You may sometimes need to customize the count , So this function is added . Indian friends ask ( His computer runs continuously n It never shuts down ), I plan to add a setting later , Set early morning 0 It will be reset automatically when .

9、 The software cannot run multiple at the same time
Ensure process uniqueness , For the implementation method, please refer to the link :https://blog.csdn.net/weixin_42887343/article/details/121201982

Four Software performance analysis

Dynamic time will consume a little cpu, But you can ignore , Generally, the software resource consumption is shown in the figure below .
 Insert picture description here

5、 ... and end

Last, last ! Software may exist bug, We also need to actively discover .

There are also many functions to add , I wanted to be a “ The details of the times are displayed ” Of ( Here's the picture ), For example, it shows how many times per hour , Later, it was found that the effect was not ideal , That's it .
 Insert picture description here
You can also add a secondary menu bar later , Realize the background color switching function , At present, it is only displayed in white .
It can also be like other commercial software , After pulling over , Change the window to a simplified style .
......
There are many feasible innovative functions , It is up to everyone to brainstorm .

Have the idea to comment below , Find out bug Go to the comments below , Fishermen will try to add as many as they like when they have time 、 Repair .

 Insert picture description here
The blog is finished , Keyboard hits :3552, Number of mouse clicks :846

原网站

版权声明
本文为[Knowledge first]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/02/202202200512308076.html