[译]用户可配置的"空闲计算机通知"工具
By robot-v1.0
本文链接 https://www.kyfws.com/applications/a-user-configurable-idle-computer-notification-too-zh/
版权声明 本博客所有文章除特别声明外,均采用 BY-NC-SA 许可协议。转载请注明出处!
- 4 分钟阅读 - 1799 个词 阅读量 0[译]用户可配置的"空闲计算机通知"工具
原文地址:https://www.codeproject.com/Articles/15258/A-user-configurable-Idle-Computer-Notification-too
原文作者:Shaun Harrington
译文由本站 robot-v1.0 翻译
前言
This tool will let you know when your computer is idle/busy.
此工具将在计算机闲置/忙碌时通知您.
- 下载设置-617 KB(Download setup - 617 KB)
- 下载最新版本-648 KB(Download the latest release - 648 KB)
- 下载演示项目-116 KB(Download demo project - 116 KB)
介绍(Introduction)
是否曾经在登录开始时注意到Windows启动的音频是如何播放的?您是否曾经希望自己的计算机在完成启动序列并且所有启动应用程序都已安定下来之后,希望它能够播放某些内容?好吧,我知道.我前面有四台计算机,当一台计算机太忙以至于无法处理我时,我又转向另一台计算机,但是除了检查完之后,没有办法真正知道第一台计算机是否已准备好让我返回然后在运行Taskman的过程中再次检查,以便查看CPU使用率.借助此工具,我的计算机会在为我准备就绪时通知我.他们告诉我何时完成启动,并且告诉我何时进行冗长的操作.(Ever notice how the audio for Windows startup plays at the beginning of login? Do you ever find yourself wishing it would play something after your computer has completed the startup sequence and all of your startup applications have settled down? Well, I do. I have four computers sitting in front of me, and I turn to another the moment one is too busy to deal with me, but have no way of really knowing if the first one is ready for me to come back to other than checking it over and over again while having the Taskman running so I see the CPU usage. With this tool, my computers let me know when they are ready for me. They tell me when they are done starting up, and they tell me when they are done with lengthy operations.)
示范项目(Demo Project)
如果您有兴趣,下载演示项目是查看代码的快速方法.建议和评论表示赞赏.该程序的核心是一个线程proc(*The demo project download is a quick way to take a look at the code if you are interested. Suggestions and comments are appreciated. The heart of the program is a thread proc in*)**icn.cpp(*icn.cpp*)**命名(named*) MonitorThreadProc()
. CPU使用率检测资料直接来自(. The CPU usage detection stuff was taken directly from*) ‘Get CPU Usage with GetSystemTimes’)“使用GetSystemTimes获取CPU使用率”( 通过(by) 大(ejor) .(.)
特征(Features)
- 功能齐全的安装和卸载(Fully featured install and uninstall)
- 用户可配置的"空闲"和"繁忙" CPU阈值和持续时间(User configurable “idle” and “busy” CPU thresholds and durations)
- 用户可配置的音频通知(User configurable audio notification)
- 连续监控模式(Continuous monitoring mode)
- HTML样式帮助文件(HTML style help file)
使用ICN(Using ICN)
在设置过程中,您将有机会调整默认设置.在初始设置过程中,不要过分担心这些,因为它们可能需要针对您的特定用例进行调整.如果希望仅在系统启动稳定下来时收到通知,则应禁用"连续监视"选项.(During the setup process, you are given an opportunity to adjust the default settings. Do not be overly concerned about these during the initial setup as they will likely need adjusting for your particular Use Case. If you wish to be notified only when system startup has settled down, you should disable the “Monitor Continuously” option.)
当…的时候(When the)**向上(up)**满足(繁忙)状态条件时,ICN将显示一个工具窗口,指示事实,除非您选择不显示设置对话框中的弹出窗口.当显示工具窗口时,除非计算机选择使用取消按钮,否则ICN将在计算机返回到空闲(关闭)状态时为您提供音频指示.工具窗口还提供对设置应用程序的访问,以方便进行调整.((busy) state conditions are met, ICN will display a tool window that indicates the fact unless you have elected to not display the pop-up in the settings dialog. When the tool window is displayed, ICN will give you an audio indication when the computer has gone back to an idle (down) state unless you have elected to use the cancel button. The tool window also provides access to the settings application for convenient adjusting.)
升级和卸载(Upgrading and Uninstalling)
升级时,必须重新启动Windows才能使更改生效.(When upgrading, it is necessary to restart Windows for the changes to take effect.)
概要(Summary)
如果我遗漏了您认为应该在文章中提及的任何细节,请告诉我.(If I left out any details you think should be mentioned in the article, please let me know.)
如果您可以花一秒钟的时间对本文进行评分,甚至发表评论,我们将不胜感激.(If you could take one last second to rate this article or even leave a comment, it would be much appreciated.)
谢谢阅读!(Thanks for reading!)
学分(Credits)
- 大(ejor) 为了他(for his*) ‘Get CPU Usage with GetSystemTimes’*)“使用GetSystemTimes获取CPU使用率”(
历史(History)
-
1.01-2006年6月30日(1.01 - June 30, 2006)
- 初始发行.(Initial release.)
许可
本文以及所有相关的源代码和文件均已获得The Code Project Open License (CPOL)的许可。
C++ Windows Visual-Studio Dev 新闻 翻译