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.
-
-
Actually love this one!
-
@Nate-Hales in spanish?
-
@Meximistas, I think Alexa would accept one of these:
establecer volumen 90 subir el volumen a 90
You'd make the Voice field volumen instead of volume.