Update turn-volume-up.ps1 and turn-volume-down.ps1

This commit is contained in:
Markus Fleschutz 2021-10-21 17:21:20 +02:00
parent 352afcc3c4
commit 1c024ffb7c
2 changed files with 2 additions and 2 deletions

View File

@ -21,7 +21,7 @@ try {
$obj.SendKeys([char]174) # each tick is -2%
}
"🔉️ -$($percent)%"
& "$PSScriptRoot/speak-english.ps1" "OK, $percent percent less volume"
& "$PSScriptRoot/speak-english.ps1" "$percent percent less volume"
exit 0 # success
} catch {
"⚠️ Error: $($Error[0]) ($($MyInvocation.MyCommand.Name):$($_.InvocationInfo.ScriptLineNumber))"

View File

@ -21,7 +21,7 @@ try {
$obj.SendKeys([char]175) # each tick is +2%
}
"🔊️ +$($percent)%"
& "$PSScriptRoot/speak-english.ps1" "OK, $percent percent louder"
& "$PSScriptRoot/speak-english.ps1" "$percent percent louder"
exit 0 # success
} catch {
"⚠️ Error: $($Error[0]) ($($MyInvocation.MyCommand.Name):$($_.InvocationInfo.ScriptLineNumber))"