mirror of
https://github.com/fleschutz/PowerShell.git
synced 2025-04-09 18:19:32 +02:00
Add give-me-five.ps1
This commit is contained in:
parent
41e06dd2f8
commit
a92090f052
@ -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
17
Scripts/give-me-five.ps1
Normal 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
|
Loading…
Reference in New Issue
Block a user