Update turn-volume-down.ps1

This commit is contained in:
Markus Fleschutz 2023-02-02 13:53:25 +01:00 committed by GitHub
parent 9189305c29
commit c5f99f228b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -20,7 +20,6 @@ try {
for ([int]$i = 0; $i -lt $percent; $i += 2) {
$obj.SendKeys([char]174) # each tick is -2%
}
& "$PSScriptRoot/speak-english.ps1" "$($percent)% softer."
exit 0 # success
} catch {
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"