Add some scripts

This commit is contained in:
Markus Fleschutz 2021-11-25 14:07:34 +01:00
parent 7f59fc7008
commit 8ad047ac90
5 changed files with 67 additions and 1 deletions

View File

@ -49,7 +49,7 @@ Computer, open `name` folder
Computer, open `name` website
-----------------------------
* launches the default Web browser with the given website.
* replace `name` by: "Amazon", "Baidu", "BBC", "BitBucket", "CDC", "CIA", "CNN", "eBay", "Facebook", "FBI", "FourSquare", "GitHub", "HRworks", "Instagram", "Microsoft", "NASA", "NBC", "Notepad", "Pinterest", "Pixabay", "Slashdot", "Tesla", "TikTok", "Twitter", "UFA", "Unsplash", "Walmart", "WhatsApp", "White House", "Windy", "Wikipedia", "Wired", "Yahoo", or "YouTube".
* replace `name` by: "Amazon", "Baidu", "BBC", "BitBucket", "CDC", "CIA", "CNN", "eBay", "Facebook", "FBI", "Flipboard", "FourSquare", "GitHub", "HRworks", "Instagram", "Microsoft", "NASA", "NBC", "Notepad", "Pinterest", "Pixabay", "Slashdot", "Starbucks", "Tesla", "TikTok", "Twitter", "UFA", "Unsplash", "Walmart", "WhatsApp", "White House", "Windy", "Wikipedia", "Wired", "Yahoo", or "YouTube".
* when finished see "Computer, close `name` browser" to stop the Web browser.
@ -73,6 +73,12 @@ Computer, play `name` sound
* replace `name`: by "bee", "beep", "cat", "cow", "dog", "donkey", "elephant", "elk", "frog", "goat", "gorilla", "horse", "lion", "parrot", "pig", "rattlesnake", "vulture", or "wolf".
Computer, play `name` game
--------------------------
* launches the default Web browser and plays the given game.
* replace `name`: by "2048", or "Tetris".
Computer, open `name` settings
-------------------------------
* launches Windows settings.

View File

@ -0,0 +1,15 @@
<#
.SYNOPSIS
Opens the Flipboard website
.DESCRIPTION
This script launches the Web browser with the Flipboard website.
.EXAMPLE
PS> ./open-flipboard-website
.NOTES
Author: Markus Fleschutz · License: CC0
.LINK
https://github.com/fleschutz/PowerShell
#>
& "$PSScriptRoot/open-default-browser.ps1" "https://flipboard.com"
exit 0 # success

View File

@ -0,0 +1,15 @@
<#
.SYNOPSIS
Opens the Starbucks website
.DESCRIPTION
This script launches the Web browser with the Starbucks website.
.EXAMPLE
PS> ./open-starbucks-website
.NOTES
Author: Markus Fleschutz · License: CC0
.LINK
https://github.com/fleschutz/PowerShell
#>
& "$PSScriptRoot/open-default-browser.ps1" "https://www.starbucks.com"
exit 0 # success

View File

@ -0,0 +1,15 @@
<#
.SYNOPSIS
Plays the 2048 game
.DESCRIPTION
This script launches the Web browser with the 2048 game.
.EXAMPLE
PS> ./play-2048-game
.NOTES
Author: Markus Fleschutz · License: CC0
.LINK
https://github.com/fleschutz/PowerShell
#>
& "$PSScriptRoot/open-default-browser.ps1" "https://2048game.com/"
exit 0 # success

View File

@ -0,0 +1,15 @@
<#
.SYNOPSIS
Plays the Tetris game
.DESCRIPTION
This script launches the Web browser with the Tetris game.
.EXAMPLE
PS> ./play-tetris-game
.NOTES
Author: Markus Fleschutz · License: CC0
.LINK
https://github.com/fleschutz/PowerShell
#>
& "$PSScriptRoot/open-default-browser.ps1" "https://www.goodoldtetris.com/"
exit 0 # success