Volume script
-
This is my current Windows batch script to set the volume on my laptop using nircmd.
I can say, "Alexa, set volume on laptop 90" to set the volume to 90 percent, or Alexa, turn off volume on laptop" to mute it.
@echo off if "%1"=="" goto :usage if "%1"=="on" goto :on if "%1"=="off" goto :off goto percent :on echo Unmuting volume nircmd mutesysvolume 0 goto done :off echo Muting volume nircmd mutesysvolume 1 goto done :percent set percent=%1% echo Setting volume to %percent% percent set /a "num=65535*(percent %% 101)/100" nircmd setsysvolume %num% goto done :usage echo %0 on, off, or 1-100 echo For example, these commands will mute the volume: echo %0 off echo %0 0 :done echo Done.
-
R Russ pinned this topic on
-
Actually love this one!
-
@Nate-Hales in spanish?
-
@Meximistas, I think Alexa would accept one of these:
establecer volumen 90 subir el volumen a 90You'd make the Voice field volumen instead of volume.
-
This post is deleted!
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login