Register forum user name Search FAQ

Gammon Forum

Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the password reset link.

Due to spam on this forum, all posts now need moderator approval.

 Entire forum ➜ MUSHclient ➜ Suggestions ➜ Optional "system tray" icon for notifications

Optional "system tray" icon for notifications

It is now over 60 days since the last post. This thread is closed.     Refresh page


Posted by Artel   USA  (65 posts)  Bio
Date Thu 30 Oct 2008 06:24 PM (UTC)

Amended on Thu 30 Oct 2008 06:32 PM (UTC) by Artel

Message
On the MUD I play, I am allowed to quest once every 30 minutes. As a result, I often idle for those 30 minutes, spending time in another window doing work. I have used to have sound trigger that I would use whenever it was time to quest, but I am increasingly working in places where I generally need to have my laptop on mute.

So, the suggestion is to allow MUSHclient to have a way that would allow alerts in the taskbar notification area (aka system tray.) I should then be able to create a notification with a script method. Clicking on the notification should restore MUSHclient to the foreground.

Edit: The suggestion would probably only work if the MUSHclient tray icon feature was enabled by the user.

Artel.
Top

Posted by Nick Gammon   Australia  (23,158 posts)  Bio   Forum Administrator
Date Reply #1 on Thu 30 Oct 2008 08:36 PM (UTC)

Amended on Thu 30 Oct 2008 08:38 PM (UTC) by Nick Gammon

Message
As a work-around until such time as this is implemented, if ever, you could do this:


<timers>
  <timer enabled="y" 
      minute="30"  
      send_to="12" >
  <send>

if not windows_utils_loaded then
  assert (package.loadlib ("windows_utils.dll", "luaopen_windows_utils")) ()
  windows_utils_loaded = true
end -- if

assert (windows_utils.shell_execute ("c:/Program Files/MUSHclient/quest_time.txt"))

</send>

  </timer>
</timers>



The file "windows_utils.dll" is in this download:

http://www.gammon.com.au/files/mushclient/lua5.1_extras/windows_utils.zip


You might need a bit of adjusting to get the time right (eg. make a one-shot timer from when you complete the last quest).

What this does is simply open a text file (quest_time.txt) which would have in it something like "time to quest again" which would appear on top of whatever you are doing, and is a notification to you. It could of course look more innocent, in case people were looking at your screen. (eg. "The Blithers contract is now ready.").



- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

Posted by Bast   (78 posts)  Bio
Date Reply #2 on Tue 24 Feb 2009 01:53 PM (UTC)
Message
I also would like to see this. If the notification is too much, maybe just a function that can make the current tray icon blink. Since I use multiple desktops, it would be nice.

Thanks,
Bast

Bast

Scripts: http://github.com/endavis
Top

The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).

To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.


15,631 views.

It is now over 60 days since the last post. This thread is closed.     Refresh page

Go to topic:           Search the forum


[Go to top] top

Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.