mirror of
https://github.com/fleschutz/PowerShell.git
synced 2025-04-17 23:48:17 +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`
|
* `Computer, turn volume down`
|
||||||
|
|
||||||
|
|
||||||
💭 Misc Voice Commands
|
💬 Welcome Commands
|
||||||
----------------------
|
-------------------
|
||||||
* `Computer, locate my phone`
|
|
||||||
* `Computer, tell joke`
|
|
||||||
* `Computer, tell quote`
|
|
||||||
* `Computer, repeat last reply`
|
|
||||||
* `Computer, connect VPN`
|
|
||||||
|
|
||||||
|
|
||||||
💬 Welcome & Farewell
|
|
||||||
---------------------
|
|
||||||
* `Computer, Hi`
|
* `Computer, Hi`
|
||||||
* `Computer, say hello`
|
* `Computer, say hello`
|
||||||
* `Computer, good morning`
|
* `Computer, good morning`
|
||||||
* `Computer, good evening`
|
* `Computer, good evening`
|
||||||
* `Computer, good night`
|
* `Computer, good night`
|
||||||
* `Computer, how are you?`
|
* `Computer, how are you?`
|
||||||
* `Computer, come on`
|
|
||||||
* `Computer, thank you`
|
|
||||||
|
💬 Farewell Commands
|
||||||
|
--------------------
|
||||||
* `Computer, I'll be back`
|
* `Computer, I'll be back`
|
||||||
* `Computer, good bye`
|
* `Computer, good bye`
|
||||||
* `Computer, bye-bye`
|
* `Computer, bye-bye`
|
||||||
* `Computer, see you`
|
* `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