Welcome Guest.   Make a donation to an author on the site September 30, 2014, 02:58:04 PM  *

Please login or register.
Or did you miss your validation email?


Login with username and password (forgot your password?)
Why not become a lifetime supporting member of the site with a one-time donation of any amount? Your donation entitles you to a ton of additional benefits, including access to exclusive discounts and downloads, the ability to enter monthly free software drawings, and a single non-expiring license key for all of our programs.


You must sign up here before you can post and access some areas of the site. Registration is totally free and confidential.
 
The N.A.N.Y. Challenge 2013! Download dozens of custom programs!
   
   Forum Home   Thread Marks Chat! Downloads Search Login Register  
Pages: [1] 2 3 4 Next   Go Down
  Reply  |  New Topic  |  Print  
Author Topic: DONE: IdleMute - Tray utility to mute speaker when you are away from the PC!  (Read 60287 times)
LuckMan212
Charter Member
***
Posts: 137


View Profile Give some DonationCredits to this forum member
« on: November 21, 2005, 10:57:26 PM »

okay, I know there is a program called NoiseNak ( http://www.nakware.com/noisenak ) that does this but I have found it to be a little to bloated for my taste and I was looking for something a little "lighter"  (less memory, less cpu usage, simpler feature set)

Here is the basic idea:
-the computer is in the den/study/wherever
-you forget to shut it off or turn down the volume
-you climb into bed on a cold night and are about to fall asleep
-all of a sudden your computer is beeping and making sounds (new email alarms, winamp, media player, web pages etc)
-now you have to wake up and get disturbed (or your kids, wife, etc)

And here is the Solution (if someone can code it!):
-program loads at startup, sits in system tray
-program is small (low memory/cpu) and unobtrusive
-after XX minutes of inactivity (XX should be configurable by user) the master mixer volume is muted
-when user returns and moves the mouse/keybd, sound will return to its previous state
   (notice I said previous state and not necessarily un-muted-- for example if the speaker
   was already muted BEFORE the user went idle, then it should remain muted even after they return)
-the mixer state will be preserved between reboots -- by this I mean that if the computer reboots for some reason in the middle of the night, the user will not be disturbed by loud beeps and noises, so if speaker was muted, then it will still be muted even after next startup.  Example of this is sometimes Defrag program needs to reboot computer to do its work, and this may happen at 5am on Saturday morning etc, this way user does not have to be disturbed...

-the tray icon will have several functions also:
   1) double-left click -- toggle program enable/disable (meaning if you disable it, then automatic muting will no longer happen)
         ( if program is disabled, tray icon should indicate this by dimming or changing color, etc)
   2) right click will present a simple menu, like this:
                Configure
                About
                Exit
   3) "Configure" box should have the following settings:
            auto-mute speaker after __XX__ minutes of inactivity
            only un-mute after mouse moves __NN__ pixels  (useful for preventing accidental unmuting by cat bumping the mouse when crawling on desk!  Grin )
¬† ¬† ¬† ¬† ¬† ¬† [  ] (checkbox) do not mute speaker if any of the following programs are running:
                 wmplayer.exe
                 vlc.exe
                 mplayerc.exe
                 winamp.exe
                 itunes.exe
            ...etc....  (user can type their own .exe processes in a box?)

That's about it.............  I actually hired someone to write a program like this for me a few years ago but I lost the program and the source code  Cry and I was not able to contact the developer........  I have really missed this program ever since!!

what do you think?
« Last Edit: February 12, 2006, 05:29:20 AM by brotherS » Logged
skrommel
Fastest code in the west
Developer
***
Posts: 882



View Profile WWW Give some DonationCredits to this forum member
« Reply #1 on: November 23, 2005, 09:33:54 AM »

IdleMute - Mutes the speaker when the computer has been idle for a while.

Features:
- User defined idle time.
- Remembers previous mute state on boot up.
- Force mute or umnute on startup.
- Muting can be disabled when your music programs run.
- Doubleclick the tray icon to mute/unmute.

You'll find the downloads and more info at Skrommel Software.

I didn't implement the cat sensor, but if you really want it, I'll look at it.

Skrommel
« Last Edit: November 23, 2005, 09:53:32 AM by skrommel » Logged

Please stop by my site at  1 Hour Software by skrommel  for downloads and more info.
brotherS
Master of Good Ideas
Honorary Member
**
Posts: 2,105


To make a difference, be different.

View Profile Give some DonationCredits to this forum member
« Reply #2 on: November 24, 2005, 05:08:50 PM »

Great and helpful smiley Thanks!

Two suggestions for the/a next version:

- allow to set a time frame in which it should work only. I'd love to be able to run this 24/7 but to only let it mute between 23:00 and 07:00

- add fade out/fade in option: I'd like it to use like 5 to 7 seconds to fade out and maybe 2 or 3 seconds to fade back in
Logged

Thank you.
skrommel
Fastest code in the west
Developer
***
Posts: 882



View Profile WWW Give some DonationCredits to this forum member
« Reply #3 on: November 25, 2005, 12:09:26 PM »

 smiley Try IdleMute v1.1!

Remember to delete the old ini-file before downloading the new version!

Skrommel
Logged

Please stop by my site at  1 Hour Software by skrommel  for downloads and more info.
brotherS
Master of Good Ideas
Honorary Member
**
Posts: 2,105


To make a difference, be different.

View Profile Give some DonationCredits to this forum member
« Reply #4 on: November 25, 2005, 12:41:31 PM »

smiley Try IdleMute v1.1!

Remember to delete the old ini-file before downloading the new version!
Awesome work!! Really, really great, a must-have for every music lover!  Kiss

(hint: http://www.donationcoder....tware/Skrommel/index.html still says "1.0")
Logged

Thank you.
brotherS
Master of Good Ideas
Honorary Member
**
Posts: 2,105


To make a difference, be different.

View Profile Give some DonationCredits to this forum member
« Reply #5 on: November 26, 2005, 04:32:34 AM »

@skrommel: Maybe you should put this on http://fileforum.betanews.com/ - I'd rate it 5/5 for sure and having it on such a site (which has many users and allows ratings and reviews) would get the word out faster and would also help to let more guys know about this great site!
Logged

Thank you.
mouser
First Author
Administrator
*****
Posts: 33,417



see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #6 on: November 26, 2005, 05:24:13 AM »

may i just note that it's always nice when someone submits a request like this which is well thought out and presented in detail; makes it easier to implement.  nice work luckman and skrommel.
Logged
brotherS
Master of Good Ideas
Honorary Member
**
Posts: 2,105


To make a difference, be different.

View Profile Give some DonationCredits to this forum member
« Reply #7 on: November 26, 2005, 08:26:38 AM »

-program is small (low memory/cpu) and unobtrusive
@skrommel: I just saw that IdleMute.exe uses 6 MB RAM and 3 to 8% CPU all the time here - huh?  huh
Would be great if you could reduce that.

Your wonderful script Ghoster.exe is using less than 3 MB RAM and almost 0% CPU.
Logged

Thank you.
skrommel
Fastest code in the west
Developer
***
Posts: 882



View Profile WWW Give some DonationCredits to this forum member
« Reply #8 on: November 26, 2005, 07:39:59 PM »

 smiley Try IdleMute v1.2. I've reduced the CPU usage and added my first proper Settings dialog!

The memory usage displayed by TaskManager is unreliable, here's what Chris, the author of AutoHotkey writes: http://www.autohotkey.com/forum/viewtopic.php?t=2363

Skrommel
Logged

Please stop by my site at  1 Hour Software by skrommel  for downloads and more info.
brotherS
Master of Good Ideas
Honorary Member
**
Posts: 2,105


To make a difference, be different.

View Profile Give some DonationCredits to this forum member
« Reply #9 on: November 27, 2005, 04:11:51 AM »

smiley Try IdleMute v1.2. I've reduced the CPU usage and added my first proper Settings dialog!
Wow, what a great dialog!  thumbs up

Might I suggest a tiny addition for version 2.0? (the dialog is so great it needs a higher version smiley ) Put an example in the text for the "What programs should prevent idle muting?" box, so that it would say "What programs should prevent idle muting? (Example: winamp.exe,vlc.exe" instead. That way people would know what the correct syntax is even when they delete what's in there when they start to use IdleTime (like I did) - if they want to add programs there 9 weeks later they probably won't remember.

At least I wouldn't Wink

Oh yeah, and I request another important GUI change: switch the "Cancel" and "OK" buttons - 99% of all apps show the "OK" button on the left hand.

CPU load is mostly at 0% now, jumps to 3% every now and then - I can live with that smiley
« Last Edit: November 27, 2005, 04:22:32 AM by brotherS » Logged

Thank you.
skrommel
Fastest code in the west
Developer
***
Posts: 882



View Profile WWW Give some DonationCredits to this forum member
« Reply #10 on: November 27, 2005, 05:58:45 PM »

 smiley Just uploaded IdleMute v1.3.

Reduced the CPU load even more, added a better About dialog and some more tray icons.

Skrommel
Logged

Please stop by my site at  1 Hour Software by skrommel  for downloads and more info.
brotherS
Master of Good Ideas
Honorary Member
**
Posts: 2,105


To make a difference, be different.

View Profile Give some DonationCredits to this forum member
« Reply #11 on: November 28, 2005, 02:23:58 AM »

smiley Just uploaded IdleMute v1.3.

Reduced the CPU load even more, added a better About dialog and some more tray icons.

Skrommel
Thanks! smiley

"some more"? Do you mean the alternative icon when muted? That brings up another request: I'd like if you would use the red (warning) color only if the muting kicked in already, so the tray icon would just be grey (or grey and green?) until muting is actived.

When I click the URL in the "About" window an error pops up, point to
--> 199: Run,www.donationcoders.com/skrommel

Do I have bad Windows settings?

Logged

Thank you.
skrommel
Fastest code in the west
Developer
***
Posts: 882



View Profile WWW Give some DonationCredits to this forum member
« Reply #12 on: November 28, 2005, 02:52:37 AM »

 embarassed Just forgot to add http:// in the Run command... Try it now.

I don't know if I agree with you about the tray icons. The grey is used when IdleMute is diabled, and the red line when the speaker is muted. Anyone else care to comment?

Skrommel
Logged

Please stop by my site at  1 Hour Software by skrommel  for downloads and more info.
brotherS
Master of Good Ideas
Honorary Member
**
Posts: 2,105


To make a difference, be different.

View Profile Give some DonationCredits to this forum member
« Reply #13 on: November 28, 2005, 03:04:44 AM »

I don't know if I agree with you about the tray icons. The grey is used when IdleMute is diabled, and the red line when the speaker is muted. Anyone else care to comment?
You are right, I was not clear enough, it's just the lower right part that's always red:

When using high resolutions you won't recognize the added red line easily, and what's more important: I prefer to see red in the tray only if there's a problem or something important going on.
Logged

Thank you.
LuckMan212
Charter Member
***
Posts: 137


View Profile Give some DonationCredits to this forum member
« Reply #14 on: November 28, 2005, 12:36:03 PM »

wow!! I was gone for the holidays and it looks like skrommel was a busy beaver!!  cheesy
this is awesome I am going to download it and try right away!

thanks always skrommel for your amazing dedication and work!  Thmbsup
Logged
LuckMan212
Charter Member
***
Posts: 137


View Profile Give some DonationCredits to this forum member
« Reply #15 on: November 28, 2005, 12:48:31 PM »

ok just tested it out--- really like the interface and seems to be 99% perfect   Grin

just a few comments, suggestions:

1. tray icon is kind of hard to see and "fuzzy" around edges on my XP box running @ 1280x1024.  can you maybe simplify it a bit --- maybe just a nicely colored/shaded green/red box?  this would make it easier to tell the difference between IdleMute and the "normal" XP speaker icon.

2. the setting "how long should the PC be idle before muting?" -- why does this have a timestamp selector on it? I am not sure what to set this to...... is it minutes/seconds elapsed since midnight?  so if you want 10 minutes then you set to 12:10:00 AM?  not sure why you have chosen this type of control but a simple text box with "# of minutes" would be more intuitive I think.

3. on the right-click tray menu, if the user picks "IdleMute" (the bolded top item) then it actually toggles the status of the "Mute" option which is the next one down.  This is not intuitive, either selecting "IdleMute" should open the About box or it should be removed completely.  No need to have two menu options right next to each other that both do the same thing!  smiley

well thats it for now, thanks skrommel !!!   Thmbsup
Logged
brotherS
Master of Good Ideas
Honorary Member
**
Posts: 2,105


To make a difference, be different.

View Profile Give some DonationCredits to this forum member
« Reply #16 on: November 28, 2005, 02:02:15 PM »

2. the setting "how long should the PC be idle before muting?" -- why does this have a timestamp selector on it? I am not sure what to set this to...... is it minutes/seconds elapsed since midnight?  so if you want 10 minutes then you set to 12:10:00 AM?  not sure why you have chosen this type of control but a simple text box with "# of minutes" would be more intuitive I think.
I find it very intuitive and also very easy to use the way it is now - you did see the "How long..." words above it I hope? Wink
Logged

Thank you.
LuckMan212
Charter Member
***
Posts: 137


View Profile Give some DonationCredits to this forum member
« Reply #17 on: November 28, 2005, 02:07:34 PM »

yes I did, but I guess I still dont understand.. its like putting a square peg in a round hole...

question:  "how long should the PC be idle before muting?"
answer:  "1:00 PM"

that makes no sense............ ??
Logged
brotherS
Master of Good Ideas
Honorary Member
**
Posts: 2,105


To make a difference, be different.

View Profile Give some DonationCredits to this forum member
« Reply #18 on: November 28, 2005, 02:15:08 PM »

yes I did, but I guess I still dont understand.. its like putting a square peg in a round hole...

question:  "how long should the PC be idle before muting?"
answer:  "1:00 PM"

that makes no sense............ ??

Hehe, maybe you need to live in a country with a real (24 hour) time schedule to appreciate IdleMute like it is now? Wink

I do - and I don't get to see AM here:

Logged

Thank you.
LuckMan212
Charter Member
***
Posts: 137


View Profile Give some DonationCredits to this forum member
« Reply #19 on: November 28, 2005, 02:21:35 PM »

ahhhhhhhh well you got me there  Grin  Grin
ok so maybe skrommel can fix it, for us feeble minded americans   embarassed
Logged
skrommel
Fastest code in the west
Developer
***
Posts: 882



View Profile WWW Give some DonationCredits to this forum member
« Reply #20 on: November 28, 2005, 03:51:14 PM »

 ohmy Big error there!

Please try IdleMute v1.4!

@LuckMan212:
In 2. I used the TimeDate control, and never considered the regional settings!

About 1. and 3.: There are a few limitations in AutoHotkey, and this is the best I can do, so far. Some of the icons are 16 colors only, and to have both a doubleclick action and a bold text in the menu, they have to perform the same action. Hope you can live with it!  smiley

Skrommel
Logged

Please stop by my site at  1 Hour Software by skrommel  for downloads and more info.
brotherS
Master of Good Ideas
Honorary Member
**
Posts: 2,105


To make a difference, be different.

View Profile Give some DonationCredits to this forum member
« Reply #21 on: November 28, 2005, 04:00:11 PM »

There are a few limitations in AutoHotkey, and this is the best I can do, so far. Some of the icons are 16 colors only
No problem, I'd just like to have display green or blue instead of red until it is actually muting something smiley

LuckMan212 may like that too?
Logged

Thank you.
skrommel
Fastest code in the west
Developer
***
Posts: 882



View Profile WWW Give some DonationCredits to this forum member
« Reply #22 on: November 28, 2005, 04:08:18 PM »

 tellme What version is that icon from? That one should be full color!

Skrommel
Logged

Please stop by my site at  1 Hour Software by skrommel  for downloads and more info.
brotherS
Master of Good Ideas
Honorary Member
**
Posts: 2,105


To make a difference, be different.

View Profile Give some DonationCredits to this forum member
« Reply #23 on: November 28, 2005, 04:12:33 PM »

tellme What version is that icon from? That one should be full color!
I made the snapshot when using 1.3, but 1.4 does show the same... Windows 2000 here.
Logged

Thank you.
LuckMan212
Charter Member
***
Posts: 137


View Profile Give some DonationCredits to this forum member
« Reply #24 on: November 28, 2005, 10:51:13 PM »

here's an enlarged shot of how the icon looks on my XP box... you can see  the problem I think
this is using v1.4
Logged
Pages: [1] 2 3 4 Next   Go Up
  Reply  |  New Topic  |  Print  
 
Jump to:  
   Forum Home   Thread Marks Chat! Downloads Search Login Register  

DonationCoder.com | About Us
DonationCoder.com Forum | Powered by SMF
[ Page time: 0.047s | Server load: 0.05 ]