Toggle b/w Mono and Stereo audio mode

Get help with using AutoHotkey and its commands and hotkeys
cykablinkimc
Posts: 1
Joined: 22 Nov 2020, 00:51

Toggle b/w Mono and Stereo audio mode

22 Nov 2020, 00:55

I just want a script that lets me switch between the Mono and Stereo audio(to hear) mode by pressing the buttons LCTRL+F3
aifritz
Posts: 258
Joined: 29 Jul 2018, 11:30
Location: Germany

Re: Toggle b/w Mono and Stereo audio mode

22 Nov 2020, 04:33

Hi cykablinkimc,

welcome to ahk-forum :)

You may try it in this way.

Code: Select all

LCONTROL & F3::
RegRead, MonoMixState, HKEY_CURRENT_USER, Software\Microsoft\Multimedia\Audio, AccessibilityMonoMixState 
If MonoMixState
    {
        RegWrite, REG_DWORD, HKEY_CURRENT_USER, Software\Microsoft\Multimedia\Audio, AccessibilityMonoMixState, 0
        SplashImage,,B1,, Mono-Audio deactivated
    }
else
    {
        RegWrite, REG_DWORD, HKEY_CURRENT_USER, Software\Microsoft\Multimedia\Audio, AccessibilityMonoMixState, 1
        SplashImage,,B1,, Mono-Audio activated
    }
Sleep 1500
SplashImage, Off
return
A little bit strange perhaps, that the change of the state isn't visible in the audio settings directly, you see it only after a windows restart.

Return to “Ask For Help”

Who is online

Users browsing this forum: Albireo, AlexIII, blackjoker, mikeyww, SOTE, WOlfen and 55 guests