Add give-me-five.ps1

This commit is contained in:
Markus Fleschutz 2021-12-10 15:43:47 +01:00
parent 41e06dd2f8
commit a92090f052
2 changed files with 34 additions and 13 deletions

View File

@ -113,26 +113,30 @@ When finished say: "Close tab" or: "Computer, close [name] browser" to close the
* `Computer, turn volume down`
💭 Misc Voice Commands
----------------------
* `Computer, locate my phone`
* `Computer, tell joke`
* `Computer, tell quote`
* `Computer, repeat last reply`
* `Computer, connect VPN`
💬 Welcome & Farewell
---------------------
💬 Welcome Commands
-------------------
* `Computer, Hi`
* `Computer, say hello`
* `Computer, good morning`
* `Computer, good evening`
* `Computer, good night`
* `Computer, how are you?`
* `Computer, come on`
* `Computer, thank you`
💬 Farewell Commands
--------------------
* `Computer, I'll be back`
* `Computer, good bye`
* `Computer, bye-bye`
* `Computer, see you`
💭 Various Voice Commands
-------------------------
* `Computer, locate my phone`
* `Computer, tell joke`
* `Computer, tell quote`
* `Computer, repeat last reply`
* `Computer, connect VPN`
* `Computer, come on`
* `Computer, thank you`
* `Computer, give me five`

17
Scripts/give-me-five.ps1 Normal file
View File

@ -0,0 +1,17 @@
<#
.SYNOPSIS
Replies to "Give me five"
.DESCRIPTION
This script replies to 'Give me five' by text-to-speech (TTS).
.EXAMPLE
PS> ./give-me-five
.NOTES
Author: Markus Fleschutz · License: CC0
.LINK
https://github.com/fleschutz/PowerShell
#>
$Reply = "Thanks!", "Hi five.", "Hi five to all of yours.", "Four plus one.", "Three plus two." | Get-Random
& "$PSScriptRoot/give-reply.ps1" "$Reply"
exit 0 # success