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

Gammon Software Solutions 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
Username:
Register forum user name
Password:
Forgotten password?

Optional "system tray" icon for notifications

[Reply to this subject]  Reply to this subject   [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

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

Posted by Nick Gammon   Australia  (19,363 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

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

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


2,392 views.

[Reply to this subject]  Reply to this subject   [New subject]  Start a new subject   [Refresh] Refresh page

Go to topic:           Search the forum


[Go to top] top

[Home]

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]    [Internet Contents Rating Association (ICRA) - 2K]    [Web site powered by FutureQuest.Net]