ATTENTION: You are viewing a page formatted for mobile devices; to view the full web page, click HERE.

DonationCoder.com Software > Finished Programs

DONE: IdleMute - Tray utility to mute speaker when you are away from the PC!

<< < (18/19) > >>

IrmaIsfot:
Hey!

On my Win2000, the tray icon flickers irregularly.  Maybe because it is an old PIII 700MHz office machine..?  :-\

Anyways, I made some modifications to stop this:


--- ---;somewhere in the beginning, where other variables are initialized
currentIcon := 0

;in the CHECKMUTE-routine
If mute=On
{
  If currentIcon <> 5
  {
    Menu,Tray,Icon,IdleMute.exe,5,5
    currentIcon := 5
  } 
  Menu,Tray,Check,&Mute
}
Else
{
  If (active="1" And enabled="1" And running="0")
  {
    If currentIcon <> 3
    {
      Menu,Tray,Icon,IdleMute.exe,3,3
      currentIcon := 3
    }
  }
  Else
  {
    If currentIcon <> 4
    {
      Menu,Tray,Icon,IdleMute.exe,4,4
      currentIcon := 4
    }
  } 
  Menu,Tray,UnCheck,&Mute
}

This only replaces the icon when it actually changes, eliminating the flickering.

Maybe this is completelly unnecessary on all the Tera-Hz super mega machines out there, but it works for me... :)

/IrmaIsfot

brotherS:
On my Win2000, the tray icon flickers irregularly.  Maybe because it is an old PIII 700MHz office machine..?  :-\
-IrmaIsfot (April 27, 2006, 04:03 AM)
--- End quote ---
Yep, probably... try to get your hands on an old P-IV machine, it's more fun to use. I don't even dare to ask how much RAM you got ;)

Anyways, I made some modifications to stop this:

--- End quote ---
Sounds like a nice idea!

Deozaan:
I've just been introduced to this program from this thread. I'm not interested in the muting function of this utility, but I am interested in its ability to run programs after being idle for a few minutes. I can't find documentation on the proper usage of the program. Does the program need to actually mute my speakers to be considered "Idle & Mute" to run a program? Do I have to set it to one minute to mute and then one minute to Idle & Mute before a program can run? So the minimum amount of time before it will run is two minutes?

I noticed that when setting the active IdleMute times, it doesn't remember the seconds. I don't know if this is like the hotkeys where it remembers them but doesn't display them properly or if the seconds are just pointless. If they're pointless, why are they even there?

I also thought that I read that a single click on the icon would display the volume bar. That doesn't happen for me.

And while I was reading over this post before submitting it, it ran the program even though I had been moving my mouse just seconds beforehand.

IrmaIsfot:
@brotherS

Hmpfr!  Insulted!  ;)

I have 256MB of RAM!  Ha!

Seriously, though, it is my work computer, where I normally use only Office apps.  I'd have a hard time motivating my IT support I need more power...

At home, where I have a more up to date system, there is no noticable flickering.  Still, the method proposed above feels...  I don't know... Optimized? :D

Doing that update even when it's not necessary, just because it makes no noticable difference is the first step towards bloating, don't you think?  I was around in the middle of the 80's and the first home computers.  They could run incredible games and apps on just a couple of MHz of 8-bit processing, using a few kb of memory!  Then you really had to optimize the usage of the limited available resources!  Today, you need 512 mb of memory to feel comfortable...

Anyways, this little comment is - of course - in no way meant as criticism towards Skrommel, who makes a fantastic job with all these little amazing gadgets!  After all, we are working with a 'simple' scripting tool that probably isn't that focused on optimization in the first place.  Or is it?

Many thanks to Skrommel for his work and inspiration to fiddle around with this myself!

/IrmaIsfot

brotherS:
I've just been introduced to this program from this thread. I'm not interested in the muting function of this utility, but I am interested in its ability to run programs after being idle for a few minutes.-Deozaan (April 27, 2006, 08:13 PM)
--- End quote ---
Good to see you found the solution in the thread you mentioned :)


Doing that update even when it's not necessary, just because it makes no noticable difference is the first step towards bloating, don't you think?  I was around in the middle of the 80's and the first home computers.  They could run incredible games and apps on just a couple of MHz of 8-bit processing, using a few kb of memory!  Then you really had to optimize the usage of the limited available resources!  Today, you need 512 mb of memory to feel comfortable...

Anyways, this little comment is - of course - in no way meant as criticism towards Skrommel, who makes a fantastic job with all these little amazing gadgets!  After all, we are working with a 'simple' scripting tool that probably isn't that focused on optimization in the first place.  Or is it?
-IrmaIsfot (April 28, 2006, 03:42 AM)
--- End quote ---
Well, only 256 MB is bad... I hope your OS is not XP ;)

You are right, many programs are 'bloatware' nowaydays, but AutoHotkey sure isn't. It's slim and fast, and adding your code surely won't bloat anything :D

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version