genocide088
New member
- Local time
- 10:01 AM
- Posts
- 4
- OS
- windows 11 22H2
this is as close i could get to making a batch file to automatcially set the volume down
i need to rewrite script so that just set it to 25% but cant figure out how to do
and if already below 25% just leave it
please someone could edit my code to achieve this?
it only reduces by 40% the =20 is 20 X 2% not what i want a half win
setlocal EnableDelayedExpansion
set /a volume=20
for /l %%x in (1,1,%volume%) do (
powershell -c "(New-Object -ComObject WScript.Shell).SendKeys([char]174)"
)
i need to rewrite script so that just set it to 25% but cant figure out how to do
and if already below 25% just leave it
please someone could edit my code to achieve this?
it only reduces by 40% the =20 is 20 X 2% not what i want a half win
setlocal EnableDelayedExpansion
set /a volume=20
for /l %%x in (1,1,%volume%) do (
powershell -c "(New-Object -ComObject WScript.Shell).SendKeys([char]174)"
)
- Windows Build/Version
- windows 11 22h2
My Computer
System One
-
- OS
- windows 11 22H2