mirror of
https://github.com/fleschutz/PowerShell.git
synced 2024-11-22 16:03:22 +01:00
Update turn-volume-up.ps1
This commit is contained in:
parent
c5f99f228b
commit
88b854953d
@ -20,7 +20,6 @@ try {
|
|||||||
for ([int]$i = 0; $i -lt $percent; $i += 2) {
|
for ([int]$i = 0; $i -lt $percent; $i += 2) {
|
||||||
$obj.SendKeys([char]175) # each tick is +2%
|
$obj.SendKeys([char]175) # each tick is +2%
|
||||||
}
|
}
|
||||||
& "$PSScriptRoot/speak-english.ps1" "$($percent)% louder."
|
|
||||||
exit 0 # success
|
exit 0 # success
|
||||||
} catch {
|
} catch {
|
||||||
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
||||||
|
Loading…
Reference in New Issue
Block a user