mirror of
https://github.com/fleschutz/PowerShell.git
synced 2024-11-21 23:43:25 +01:00
Update turn-volume-off.ps1
This commit is contained in:
parent
108ab94f5b
commit
4093d2079d
@ -14,7 +14,6 @@
|
||||
try {
|
||||
$obj = new-object -com wscript.shell
|
||||
$obj.SendKeys([char]173)
|
||||
& "$PSScriptRoot/speak-english.ps1" "Audio is off."
|
||||
exit 0 # success
|
||||
} catch {
|
||||
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
||||
|
Loading…
Reference in New Issue
Block a user