a not toogle Volume_Mute command

Get help with using AutoHotkey and its commands and hotkeys
AmDeG 11
Posts: 319
Joined: 28 Nov 2013, 11:42

a not toogle Volume_Mute command

17 May 2019, 17:13

I want to mute all the sounds (those at the media player and those from internet Browsers) but I could not find the way.
at the SoundSet syntax I found a toogle function :

Code: Select all

Send {Volume_Mute}  ; Mute/unmute the master volume.
I don't want that since it will play when they are at the pause state

so I need a way to silence my lap and then continue playing at media players and at possible internet pages
Ridwan
Posts: 141
Joined: 17 Oct 2015, 21:06
Location: Indonesia

Re: a not toogle Volume_Mute command

18 May 2019, 01:17

Try this.

Code: Select all

^j::
    Mute := !Mute
    
    If Mute
    {
        SoundGet, Volume
        SoundSet, 0
    }
    
    Else SoundSet, % Volume
Return
AmDeG 11
Posts: 319
Joined: 28 Nov 2013, 11:42

Re: a not toogle Volume_Mute command

18 May 2019, 15:14

it is not completely working

sound is set to 1 , not to 0 (it still can be heard)

Return to “Ask For Help”

Who is online

Users browsing this forum: Bing [Bot], flyingDman, Geriko, Google [Bot], Odius, RsTxSpyMaster, Worly and 147 guests