mirror of
https://github.com/fleschutz/PowerShell.git
synced 2024-11-08 00:54:04 +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