mirror of
https://github.com/fleschutz/PowerShell.git
synced 2025-02-23 05:01:37 +01:00
Add some scripts
This commit is contained in:
parent
7f59fc7008
commit
8ad047ac90
@ -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.
|
||||
|
15
Scripts/open-flipboard-website.ps1
Normal file
15
Scripts/open-flipboard-website.ps1
Normal 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
|
15
Scripts/open-starbucks-website.ps1
Normal file
15
Scripts/open-starbucks-website.ps1
Normal 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
|
15
Scripts/play-2048-game.ps1
Normal file
15
Scripts/play-2048-game.ps1
Normal 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
|
15
Scripts/play-tetris-game.ps1
Normal file
15
Scripts/play-tetris-game.ps1
Normal 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
|
Loading…
Reference in New Issue
Block a user