How could I make a timed mute button on windows 10?

1

1

I am aware of one method to put a mute button link on the desktop of windows 10, but is there a simple way to run this link twice within a time period? Would it be simple to make a script to launch the shortcut twice?

link on how to make a desktop mute button link

Dan Z

Posted 2016-11-05T22:40:34.643

Reputation: 127

Answers

2

I would use an AutoHotkey script like:

^!m::
Send {Volume_Mute} 
Sleep, 600000
Send {Volume_Mute} 
return

When you use the hotkeys: ctrl+alt+m this script will "push the mute button" (even if you don't have a physical one), wait 10 minutes (600000 miliseconds) and then "push the button" again to unmute

fluxtendu

Posted 2016-11-05T22:40:34.643

Reputation: 6 701

1

This could be done by making a bat file that utilizes the program nircmd. A bat file could be made by using textedit, entering the following lines, and changing the file type to .bat

C:\Users\USERNAME\Desktop\shortuts\mute.lnk
timeout /t 30 /nobreak 
C:\Users\USERNAME\Desktop\shortuts\mute.lnk

The disadvantage to this is that the windows command prompt opens in front of other programs, and that this dat file cannot be moved to the shortcut bar.

Here is a link on how to move mute to the taskbar.

And here is how to run a hidden script.

Dan Z

Posted 2016-11-05T22:40:34.643

Reputation: 127