Make a .bat script to mute and unmute a program. eg chome.exe RRS feed

  • Question

  • Basically i was trying to bind my mouse to mute chrome when i press a 4th or 5th button which comes with my mouse. so far when pressed it launches a program which will launch this script which will mute or unmute chrome. What i want it to do is.

    if chromeMute = true

    unmute chrome and set chromeMute to false.


    mute chrome and set chrome mute to true.

    then exit script.

    I have no idea how to do this and would love for people to explain what each bit means in the script. Otherwise just a script would be much appreciated. Thanks in advanced.

    • Moved by Bill_Stewart Friday, March 15, 2019 12:24 AM Unanswerable drive-by question
    Sunday, November 25, 2018 8:22 AM

All replies