How to LOWER volume of "PLAYSOUND"?



  • Hi! If I change it in taskbar volume settings then it will go back to loud when i restart the app.

    I have manual browser control part in my script and i need to call sound but its too loud for me to stand it

    Any help appreciated!



  • @yourfriendkarol said in How to LOWER volume of "PLAYSOUND"?:

    Hi! If I change it in taskbar volume settings then it will go back to loud when i restart the app.

    I have manual browser control part in my script and i need to call sound but its too loud for me to stand it

    Any help appreciated!

    add the line --mute-audio to the chrome_command_line.txt file

    Or use the "Javascript" action with the code:

    var mute=function(tag){var elems = document.getElementsByTagName(tag);for(var i = 0; i < elems.length; i++){elems[i].muted=true;}};mute("video");mute("audio");document.addEventListener("DOMSubtreeModified", function(event) {mute("video");mute("audio");});
    

Log in to reply