|
Post by TechSalt on Aug 18, 2022 11:38:11 GMT -8
I played around with ACT's Compatibility Administrator, and found this compatibility fix called: HardwareAudioMixer This seems to make XP's or ReactOS's volume control program work on modern Windows by making it control the soundcard's volume, and not the application volume. So far, ReactOS's volume control works better with this option because XP's doesn't control my headphones.
|
|
|
Post by TechSalt on Sept 21, 2022 7:24:55 GMT -8
Fun fact: You can run sndvol32 with the parameter /t to get the tray flyout.
|
|
|
Post by The Jackal on Sept 21, 2022 11:07:39 GMT -8
Confirmed working. Splendid stuff, Tech! I'm getting good results with the version from Windows 98. I got the tray flyout to work but is there a way to enable the tray icon? I'm currently running it via shortcut via the desktop. Thanks again Tech.
|
|
craft
Sophomore Member
UWP stands for unwanted pile of trash
Posts: 167
OS: Windows 11 & Windows 10 LTSC 2021
Theme: Classic Theme on Windows 10 LTSC host and micaforeveryone with a custom theme on 11 host
CPU: AMD Ryzen 5 3500U with 4 Cores
RAM: 8GB of DDR4 ram
GPU: AMD Raedon Vega 8 Graphics
|
Post by craft on Sept 21, 2022 16:52:31 GMT -8
Confirmed working. Splendid stuff, Tech! I'm getting good results with the version from Windows 98. I got the tray flyout to work but is there a way to enable the tray icon? I'm currently running it via shortcut via the desktop. Thanks again Tech. Possible with reactis stobject but breaks shell:startup
|
|
|
Post by TechSalt on Sept 22, 2022 7:27:10 GMT -8
Confirmed working. Splendid stuff, Tech! I'm getting good results with the version from Windows 98. I got the tray flyout to work but is there a way to enable the tray icon? I'm currently running it via shortcut via the desktop. Thanks again Tech. As craft said, you can use ReactOS stobject.
#Persistent #SingleInstance OnMessage(0x404, "AHK_NOTIFYICON")
AHK_NOTIFYICON(wParam, lParam) { if (lParam = 0x202) { Run, sndvol32.exe -t return }
if (lParam = 0x204) { Menu, VolMenu, Show return } }
Menu, Tray, Tip, Volume Menu, Tray, Icon, mmsys.cpl, 0 Menu, Tray, NoStandard Menu, VolMenu, Add, &Open Volume Control, vol Menu, VolMenu, Add, &Adjust Audio Properties, mmsys Menu, VolMenu, Default, &Open Volume Control
Return
vol: Run, sndvol32.exe Return
mmsys: Run, mmsys.cpl Return
|
|
|
Post by The Jackal on Sept 22, 2022 12:50:55 GMT -8
Thank you, both of you. I tried replacing Stobject.dll from ReactOS, but no dice. Still didn't wanted to work for me, but that AHK script works brilliantly. Is there a way to add a function to the script so the icon changes to mute icon when you mute the sound?
Many thanks, to the both of you.
|
|
|
Post by TechSalt on Sept 23, 2022 4:04:52 GMT -8
Is there a way to add a function to the script so the icon changes to mute icon when you mute the sound? I am sure it is possible but my AHK knowledge is basically searching things in StackOverflow
|
|
|
Post by TechSalt on Sept 23, 2022 4:09:14 GMT -8
Fixed a bug where double clicking the tray icon would open full sndvol32 by making the menu separate from the tray icon. Should function the same except without the bug
|
|
|
Post by The Jackal on Sept 23, 2022 10:41:58 GMT -8
Is there a way to add a function to the script so the icon changes to mute icon when you mute the sound? I am sure it is possible but my AHK knowledge is basically searching things in StackOverflow Yeah, I've been reading up a few threads over on the main AHK boards, and tbh, it's mostly going over my head. I'm gonna try a few more scripts I've found on there, and if nothing comes of it, I'll sign up and ask someone on there if they can help.
|
|
|
Post by The Jackal on Oct 2, 2022 14:07:19 GMT -8
Fixed a bug where double clicking the tray icon would open full sndvol32 by making the menu separate from the tray icon. Should function the same except without the bug Tried out the new version of your script; it works great, except it now loads up full audio output dialog/mixer on startup of the script. Can easy just hide it away though, so no biggie.
|
|
|
Post by TechSalt on Oct 2, 2022 20:51:44 GMT -8
Fixed a bug where double clicking the tray icon would open full sndvol32 by making the menu separate from the tray icon. Should function the same except without the bug Tried out the new version of your script; it works great, except it now loads up full audio output dialog/mixer on startup of the script. Can easy just hide it away though, so no biggie. That's weird. For me it just works like it should, what taskbar are you using?
|
|
|
Post by The Jackal on Oct 3, 2022 11:31:54 GMT -8
Tried out the new version of your script; it works great, except it now loads up full audio output dialog/mixer on startup of the script. Can easy just hide it away though, so no biggie. That's weird. For me it just works like it should, what taskbar are you using? Apologies, I fixed it - I was overriding the old script with the new ones, must'va missed something. I started again with a fresh script and all is well. Thanks TechSalt.
|
|
|
Post by The Jackal on Apr 16, 2023 3:03:28 GMT -8
Sorted it. I modififed someone else's script - it's a bit wonky, and abit messy, but it works. EDIT: The script I modified is called "IdleMute". EDIT 2: I've included the script here, you need to place it in C:/Classic (so it's full path would be C:/Classic/Volume Control Classic) and make sure you place SNDVOL32.exe in SysWOW64 (you will also need to add the HardwareAudioMixer compat fix as noted above in TechSalt's opening post to it). Place a copy of mmsys2.cpl in System32 as well as SYSWOW64. And then you can run either the compiled executable or the ahk script. I've placed a detailed read me with it to help anyone out if they need it. EDIT 3: Updated script - I left a setting on in the ini file that caused issues. Corrected it.
|
|