来自系统托盘的通知 [英] Notifications from the system tray

查看:116
本文介绍了来自系统托盘的通知的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我正在编写一个连接到特定网站的Web刮板应用程序,并从返回的某些html标记中提取几个字段.它将每分钟执行一次.如果该字段自上次连接到网站以来已更改,则需要向用户显示这些字段.

现在,我计划使其成为不可见的应用程序,并且系统托盘中仅显示一个图标.

问题是,你们认为什么是向用户显示此信息的最佳方法?气球提示似乎还可以,但是看起来大多数用户在默认情况下会在注册表中将其关闭.也许我应该在透明的窗口中实现文本,在显示几秒钟后将其删除,或者像IM上的某人联机/脱机时那样弹出一个小窗口?

欢迎提出所有建议.提前谢谢!

(如果您感到好奇,则抓取器将连接到游戏服务器的网站,并返回当前正在播放的地图以及服务器上当前的玩家数量.)

Hello everyone,

I am writing a web scraper application that connect to a particular website and extracts a couple of fields from certain html tags that is returned. It will do this every minute. These fields need to be displayed to the user if it has changed from the last time it connected to the website.

Now, I am planning to make it an invisible application with just an icon present in the system tray.

The question is, what do you guys think would be the best way to display this information to the user? Balloon tips seem okay, but it looks like most users will have it turned off by default in the registry. Maybe I should implement a text in a transparent window that is removed after displaying for a couple of seconds or maybe a little window that pops up like when someone on your IM comes online/offline?

All suggestions are welcome. Thanks in advance!

(In case you are curious, the scraper will connect to the website of a game server and will return the map that is currently being played as well as the number of players currently on the server)

推荐答案

当鼠标悬停在系统托盘中的图标上时,将显示一个工具提示.这将显示非常基本的信息.映射名称和用户数.只需提供无线/网络/扬声器状态即可.

如果用户需要更多统计信息,则如果双击图标,将以完整格式/对话框打开.

保持简单,让用户选择何时查看数据,没有什么比不断在您的脸上不断发出通知的东西更糟糕的了.
I would have a tooltip that would appear when the mouse hovers over the icon in the systray. This would show the very basic information. Map Name and usercount. Simple as the wirelss/network/speaker status is all that is required.

If the user want more stats, then this would open in a full blown form/dialog if icon double clicked.

Keep it simple, and let the user choose when to see the data, nothing worse than something that constantly shoves notifications in your face.


如何显示Communicator之类的警报框,唯一的问题让我担心的是,如果频率太高.由于更改警报窗口中的值,用户将不断失去焦点.
How about displaying alert box like Communicator, The only things which worries me is that if the frequency is too high. The user will be constantly losing focus because of changing values in the alert window.


这篇关于来自系统托盘的通知的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆