|
app103
|
 |
« 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_
|
 |
« 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 
|
|
|
|
|
Logged
|
|
|
|
|
mouser
|
 |
« 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
|
 |
« 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..  i'll post in a short while..
|
|
|
|
|
Logged
|
|
|
|
|
mouser
|
 |
« 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
|
 |
« 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.. 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
|
 |
« 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.  Thank you so much! (credits are on the way)
|
|
|
|
|
Logged
|
|
|
|
|
BigJim
|
 |
« 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
|
 |
« Reply #8 on: July 05, 2007, 08:26:15 AM » |
|
BigJim: of course i can do that, will post it tomorrow, though..  now i'm heading to bed.. zzzzz
|
|
|
|
|
Logged
|
|
|
|
|
BigJim
|
 |
« Reply #9 on: July 05, 2007, 10:48:43 AM » |
|
Thanks man! Snooze well and prosper. 
|
|
|
|
|
Logged
|
TruckerJim says "You can go down a hill too slow a thousand times. But too fast only once."
|
|
|
|
Nod5
|
 |
« 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
|
 |
« 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. 
|
|
|
|
|
Logged
|
|
|
|
|
lanux128
|
 |
« 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.. 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.. 
|
|
|
|
|
Logged
|
|
|
|
|
taichimaster
|
 |
« Reply #13 on: July 06, 2007, 02:35:48 AM » |
|
AWESOME script!!!! Thanks!!
|
|
|
|
|
Logged
|
|
|
|
|
Nod5
|
 |
« 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
|
 |
« 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
|
 |
« 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.  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
|
 |
« Reply #17 on: July 09, 2007, 02:53:15 AM » |
|
sorry hadn't noticed the flicker but thanks for the idea, Nod5..  i'll update the script soon. 
|
|
|
|
|
Logged
|
|
|
|
|
lanux128
|
 |
« Reply #18 on: July 09, 2007, 09:40:15 PM » |
|
ok, done..  hopefully no more ugly flickering.. 
|
|
|
|
|
Logged
|
|
|
|
|
|
|
lanux128
|
 |
« 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..
|
|
|
|
|
Logged
|
|
|
|
|
mouser
|
 |
« 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
|
 |
« 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) 
|
|
|
|
|
Logged
|
|
|
|
|
ak_
|
 |
« 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
|
|
|
|
|
|
|