From be5d5b88a1d36f3c33765c328993525c67f399b4 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Sun, 25 Apr 2021 19:57:19 +0200 Subject: [PATCH] Improve the output --- Scripts/mute-audio.ps1 | 2 +- Scripts/unmute-audio.ps1 | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Scripts/mute-audio.ps1 b/Scripts/mute-audio.ps1 index 7797efe9..1c680f14 100755 --- a/Scripts/mute-audio.ps1 +++ b/Scripts/mute-audio.ps1 @@ -8,7 +8,7 @@ try { $obj = new-object -com wscript.shell $obj.SendKeys([char]173) - "🔇 audio muted." + "🔇 audio is muted" exit 0 } catch { write-error "ERROR: line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" diff --git a/Scripts/unmute-audio.ps1 b/Scripts/unmute-audio.ps1 index b0e11c97..277826dd 100755 --- a/Scripts/unmute-audio.ps1 +++ b/Scripts/unmute-audio.ps1 @@ -1,6 +1,6 @@ <# .SYNTAX unmute-audio.ps1 -.DESCRIPTION unmutes audio output +.DESCRIPTION unmutes the audio output .LINK https://github.com/fleschutz/PowerShell .NOTES Author: Markus Fleschutz / License: CC0 #> @@ -8,7 +8,7 @@ try { $obj = new-object -com wscript.shell $obj.SendKeys([char]173) - "🔈 audio unmuted." + "🔈 audio is unmuted" exit 0 } catch { write-error "ERROR: line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"