Welcome Guest.   Make a donation to an author on the site November 20, 2009, 05:55:31 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.
 
Learn about the DonationCoder.com microdonation system (DonationCredits).
   
   Forum Home   Thread Marks Chat! Downloads Search Login Register  
Pages: [1] 2 3   Go Down
  Print  
Author Topic: IDEA: OnScreen Display for Mute Status  (Read 23357 times)
app103
That scary taskbar girl
Charter Honorary Member
***
Posts: 2,718



see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« on: July 04, 2007, 05:27:16 PM »

Too many times I am interrupted and have to hit my mute button. Then I forget it's muted and wonder a little while later where my music went, or why I am not hearing alerts for incoming messages.

When I hit the mute button on my keyboard, there is an onscreen display, but it only lasts a second or 2:



What I would like is a utility that will show when the pc's volume is muted, only while it is muted, until it is not.

Whatever image or text is used, should show up well on both light & dark backgrounds.
Logged

ak_
Supporting Member
**
Posts: 217


see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #1 on: July 04, 2007, 05:32:46 PM »

According to my poor AHK knowledge, i think it should be easily done with it. I can't give it a try right now cause i'm off to bed but i bet there are ahk experts here who will be able to do this in 5 minutes smiley
Logged

mouser
First Author
Administrator
*****
Posts: 21,829



plarker mouser see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #2 on: July 04, 2007, 05:38:54 PM »

This is surely a good idea, and you could expand it to include something if your numlock or caps lock is on too.
Logged
lanux128
Global Moderator
*****
Posts: 4,565



plarker lanux128 see users location on a map View Profile Read user's biography. Give some DonationCredits to this forum member
« Reply #3 on: July 04, 2007, 08:11:32 PM »

i have something like that as a general script, i'll cut and paste the relevant part and make the display persistent.. smiley i'll post in a short while..
Logged
mouser
First Author
Administrator
*****
Posts: 21,829



plarker mouser see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #4 on: July 04, 2007, 08:13:06 PM »

app, what is that fancy program you are using for your windows background -- are you sure it doesnt have the ability to show mute status?
Logged
lanux128
Global Moderator
*****
Posts: 4,565



plarker lanux128 see users location on a map View Profile Read user's biography. Give some DonationCredits to this forum member
« Reply #5 on: July 04, 2007, 09:42:31 PM »

ok App, try this script and let me know if it works. btw, i didn't compile the script into an EXE since you already know the drill.. smiley

OSD Mute
• monitor and display the system's Mute status.
• needs Autohotkey, if downloading the source (.ahk & .zip) files.



New version: Vista-compatible
* OSD-mute-Vista.zip (27.04 KB - downloaded 88 times.)
* OSD-mute-Vista.exe (258.75 KB - downloaded 119 times.)

New version: v3
* OSD-mute-v3.zip (16.05 KB - downloaded 699 times.)
* OSD-mute.exe (416.03 KB - downloaded 741 times.)

'Lite' version
* OSD-mute.ahk (2.34 KB - downloaded 377 times.)
* OSD-mute.exe (197.35 KB - downloaded 446 times.)

Edit: added the compiled EXE.
Edit2: as per Nod5's suggestion, added code to remove flickering.
Edit3: added some minor updates.
Edit4: added option to change the positioning and the font properties of the OSD.
Edit5: two new options: notraymenu & noquitmenu in the INI file.
Edit6: Vista-compatibility plus new hotkey to toggle mute status (Win+m).
« Last Edit: July 05, 2009, 10:46:21 PM by lanux128 » Logged
app103
That scary taskbar girl
Charter Honorary Member
***
Posts: 2,718



see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #6 on: July 04, 2007, 09:54:58 PM »

app, what is that fancy program you are using for your windows background -- are you sure it doesnt have the ability to show mute status?

Those are Yahoo widgets. I haven't found one that will do what I want.

lanux: This is great! Just what I wanted.  smiley
Thank you so much! (credits are on the way)
Logged

BigJim
Supporting Member
**
Posts: 176


I have seen the light!

see users location on a map View Profile Read user's biography. Give some DonationCredits to this forum member
« Reply #7 on: July 05, 2007, 04:15:25 AM »

That looks really neat - and useful! Would you be willing to compile it for those of us  bozo's who don't know the drill?

Thanks
Logged

TruckerJim says "You can go down a hill too slow a thousand times. But too fast only once."
lanux128
Global Moderator
*****
Posts: 4,565



plarker lanux128 see users location on a map View Profile Read user's biography. Give some DonationCredits to this forum member
« Reply #8 on: July 05, 2007, 08:26:15 AM »

BigJim: of course i can do that, will post it tomorrow, though.. smiley now i'm heading to bed.. zzzzz
Logged
BigJim
Supporting Member
**
Posts: 176


I have seen the light!

see users location on a map View Profile Read user's biography. Give some DonationCredits to this forum member
« Reply #9 on: July 05, 2007, 10:48:43 AM »

Thanks man! Snooze well and prosper. tongue
Logged

TruckerJim says "You can go down a hill too slow a thousand times. But too fast only once."
Nod5
Supporting Member
**
Posts: 543


View Profile Give some DonationCredits to this forum member
« Reply #10 on: July 05, 2007, 12:50:37 PM »

Great script lanux128.

This can also be done without a script. Go to Sound and Audio Devices Properties > Volume > Device Volume: Place volume icon in the taskbar. The tray icon automatically changes when mute is on/off. For this to work the tray icon must be visible all the time so the script is more sophisticated.
Logged
app103
That scary taskbar girl
Charter Honorary Member
***
Posts: 2,718



see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #11 on: July 05, 2007, 12:55:08 PM »

This can also be done without a script. Go to Sound and Audio Devices Properties > Volume > Device Volume: Place volume icon in the taskbar. The tray icon automatically changes when mute is on/off. For this to work the tray icon must be visible all the time so the script is more sophisticated.

I have the tray icon, but I keep my taskbar on autohide, so it's generally not visible. Even if it were visible, that icon is pretty small and the status easy to miss. This script makes it very obvious, like when you have your TV on mute.  smiley
Logged

lanux128
Global Moderator
*****
Posts: 4,565



plarker lanux128 see users location on a map View Profile Read user's biography. Give some DonationCredits to this forum member
« Reply #12 on: July 05, 2007, 08:25:20 PM »

okay, i've uploaded the compiled EXE and btw, i suck at icons so those who are graphically-inclined feel free to add their own icons.. smiley

Nod5: thanks for the tip, the systray icon is useful but WinXP always hides them and as App mentioned, it's easy to miss out.. smiley
Logged
taichimaster
Charter Member
***
Posts: 154



View Profile WWW Give some DonationCredits to this forum member
« Reply #13 on: July 06, 2007, 02:35:48 AM »

AWESOME script!!!!  Thanks!!
Logged

Nod5
Supporting Member
**
Posts: 543


View Profile Give some DonationCredits to this forum member
« Reply #14 on: July 08, 2007, 06:08:02 AM »

app103 & lanux128,
You can set some tray icons to always be shown (never autohidden). Right click Start > Taskbar tab > customize.. . Alternatively, Right click Start > Taskbar tab > untick Hide inactive icons for a more general solution.
But I agree with you that this neat script makes it much easier to see when mute is on.
Logged
app103
That scary taskbar girl
Charter Honorary Member
***
Posts: 2,718



see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #15 on: July 08, 2007, 06:24:22 AM »

app103 & lanux128,
You can set some tray icons to always be shown (never autohidden). Right click Start > Taskbar tab > customize.. . Alternatively, Right click Start > Taskbar tab > untick Hide inactive icons for a more general solution.
But I agree with you that this neat script makes it much easier to see when mute is on.

I have all my icons showing...but I don't have my taskbar itself showing (that is what I have on autohide).
Logged

Nod5
Supporting Member
**
Posts: 543


View Profile Give some DonationCredits to this forum member
« Reply #16 on: July 08, 2007, 02:47:28 PM »

app103,
Ok I missed that earlier but I see now that's what you wrote.  embarassed

lanux128,
a suggestion: the scripts flickers briefly due to the repeated "gui, destroy" & "gui, show". Add these lines (in red) to only destroy+rebuild the mute OSD text only if its not already present.

------------------
If CheckMute = On
If osd_is_on != 1
  {
  osd_is_on = 1
  Gui, Destroy ;
  Gui, Color, EEAA99
  Gui +AlwaysOnTop +ToolWindow -Caption +Lastfound
  WinSet, TransColor, EEAA99 105  ;105 - level of translucency (range: 0-255)
  Gui, Font, s30 Bold cYellow, Tahoma
  Gui, Add, Text,x3 y3 w175 h45 Center c000000 BackgroundTrans, Mute %CheckMute%
  Gui, Add,Text,x0 y0 w175 h45 Center cFFD300 BackgroundTrans, Mute %CheckMute%
  Gui,Show, NoActivate x70 y600 w175 h45 ; some crude positioning co-ordinates
  IfExist, %A_WinDir%\System32\sndvol32.exe
    Menu, tray, Icon, %A_WinDir%\System32\sndvol32.exe, 4 ; Mute icon
  Sleep 3000
  }
If CheckMute = Off
  {
  osd_is_on =
------------------
(is there some way to combine code block format with text coloring in forum posts?)
Logged
lanux128
Global Moderator
*****
Posts: 4,565



plarker lanux128 see users location on a map View Profile Read user's biography. Give some DonationCredits to this forum member
« Reply #17 on: July 09, 2007, 02:53:15 AM »

sorry hadn't noticed the flicker but thanks for the idea, Nod5.. Thmbsup i'll update the script soon. smiley
Logged
lanux128
Global Moderator
*****
Posts: 4,565



plarker lanux128 see users location on a map View Profile Read user's biography. Give some DonationCredits to this forum member
« Reply #18 on: July 09, 2007, 09:40:15 PM »

ok, done.. Thmbsup hopefully no more ugly flickering.. smiley
Logged
Grorgy
Supporting Member
**
Posts: 819

see users location on a map View Profile Give some DonationCredits to this forum member
« Reply #19 on: July 09, 2007, 10:15:35 PM »

 Thmbsup works even better  smiley
Logged
lanux128
Global Moderator
*****
Posts: 4,565



plarker lanux128 see users location on a map View Profile Read user's biography. Give some DonationCredits to this forum member
« Reply #20 on: September 04, 2007, 09:03:31 PM »

some minor feature updates:
• allow mouse-clicks to pass through the Gui
• stop Win+D from minimizing the Gui
• tray icon to emulate normal tray volume icon (now you can turn off the default one)



get the latest update here. also use Win+q to exit the program.. smiley

Logged
mouser
First Author
Administrator
*****
Posts: 21,829



plarker mouser see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #21 on: September 05, 2007, 05:11:01 PM »

lanux i think it's time to make a web page for your utils!
Logged
lanux128
Global Moderator
*****
Posts: 4,565



plarker lanux128 see users location on a map View Profile Read user's biography. Give some DonationCredits to this forum member
« Reply #22 on: September 05, 2007, 06:34:59 PM »

but mouser, i've only made a handful of AHK scripts.. (lanux128 being ultra-modest) Cool
Logged
ak_
Supporting Member
**
Posts: 217


see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #23 on: September 05, 2007, 07:16:44 PM »

Lanux> well, they work well and they're useful, so a small web page with all of them would be convenient. I'm thinking of making one myself (especially because i now use dcuhelper and i had to provide an url - i don't want it to be an empty space)
Logged

mouser
First Author
Administrator
*****
Posts: 21,829



plarker mouser see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #24 on: September 05, 2007, 07:29:03 PM »

im very very happy to create web space for dc members with freeware and/or donationware.
something like http://NAME.dcmembers.com or http://NAME.dcisv.com
message me for help.  thumbs up
Logged
Pages: [1] 2 3   Go Up
  Print  
 
Jump to:  
   Forum Home   Thread Marks Chat! Downloads Search Login Register  

DonationCoder.com | About Us
DonationCoder.com Forum | Powered by SMF
SMF © 2006-2009, Simple Machines LLC

social bookmark this page