2

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
  • 137

3 Answers3

3

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
  • 7,219
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
  • 137
1

I already did it, with the Autohotkey app, then adding the script shortcut direct to stratup folder and it work on Windows starup. It will mute the 30 secs Spotify Anoying Ads like a muted button by presing º (i used º as hoytkey)

º::

Send {Volume_Mute}

Sleep, 30000

Send {Volume_Mute}

return