[Home] [Downloads] [Search] [Help/forum]

Gammon Forum

See www.mushclient.com/spam for dealing with forum spam. Please read the MUSHclient FAQ!

[Folder]  Entire forum
-> [Folder]  MUSHclient
. -> [Folder]  Suggestions
. . -> [Subject]  Optional "system tray" icon for notifications
Home  |  Users  |  Search  |  FAQ
Register forum user name
Forgotten password?

Optional "system tray" icon for notifications

It is now over 60 days since the last post. This thread is closed.   [New subject]  Start a new subject   [Refresh] Refresh page

Posted by Artel   USA  (63 posts)  [Biography] bio
Date Thu 30 Oct 2008 06:24 PM (UTC)  quote  ]

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

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.

[Go to top] top

Posted by Nick Gammon   Australia  (19,673 posts)  [Biography] bio   Forum Administrator
Date Reply #1 on Thu 30 Oct 2008 08:36 PM (UTC)  quote  ]

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

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

  <timer enabled="y" 
      send_to="12" >

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"))



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


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
[Go to top] top

Posted by Bast   (77 posts)  [Biography] bio
Date Reply #2 on Tue 24 Feb 2009 01:53 PM (UTC)  quote  ]
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.



Scripts: http://bastmush.googlecode.com
[Go to top] 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.


It is now over 60 days since the last post. This thread is closed.   [New subject]  Start a new subject   [Refresh] Refresh page

Go to topic:           Search the forum

[Go to top] top

Quick links: MUSHclient. MUSHclient help. Forum shortcuts. Posting templates. Lua modules. Lua documentation.


Written by Nick Gammon - 5K

Comments to: Gammon Software support
[RH click to get RSS URL] Forum RSS feed ( http://www.gammon.com.au/rss/forum.xml )

[Best viewed with any browser - 2K]    [Web site powered by FutureQuest.Net]