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