Simple rename

This commit is contained in:
Markus Fleschutz 2021-12-06 19:33:42 +01:00
parent 7aa7af1028
commit 1289232de8
3 changed files with 8 additions and 8 deletions

View File

@ -90,8 +90,8 @@ Lets the computer check something, replace [name] by: `Bitcoin`, `Christmas`, `C
🔊 Audio Voice Commands
------------------------
* `Computer, mute audio`
* `Computer, unmute audio`
* `Computer, turn volume off`
* `Computer, turn volume on`
* `Computer, turn volume up`
* `Computer, turn volume down`

View File

@ -1,10 +1,10 @@
<#
.SYNOPSIS
Mutes the audio output
Turns the volume off
.DESCRIPTION
This script mutes the default audio device immediately.
.EXAMPLE
PS> ./mute-audio
PS> ./turn-volume-off
.NOTES
Author: Markus Fleschutz · License: CC0
.LINK
@ -14,7 +14,7 @@
try {
$obj = new-object -com wscript.shell
$obj.SendKeys([char]173)
"🔇 audio is muted"
& "$PSScriptRoot/give-reply.ps1" "Audio is off."
exit 0 # success
} catch {
"⚠️ Error: $($Error[0]) ($($MyInvocation.MyCommand.Name):$($_.InvocationInfo.ScriptLineNumber))"

View File

@ -1,10 +1,10 @@
<#
.SYNOPSIS
Unmutes the audio output
Turns the volume on
.DESCRIPTION
This script unmutes the audio output.
.EXAMPLE
PS> .\unmute-audio.ps1
PS> .\turn-volume-on.ps1
.NOTES
Author: Markus Fleschutz · License: CC0
.LINK
@ -14,7 +14,7 @@
try {
$obj = new-object -com wscript.shell
$obj.SendKeys([char]173)
"🔈 audio is unmuted"
& "$PSScriptRoot/give-reply.ps1" "Audio is on."
exit 0 # success
} catch {
"⚠️ Error: $($Error[0]) ($($MyInvocation.MyCommand.Name):$($_.InvocationInfo.ScriptLineNumber))"