From c2b4be5e377265d5b5d5b74fba891da4d807ebd2 Mon Sep 17 00:00:00 2001 From: Markus Date: Sat, 11 Dec 2021 18:23:56 +0100 Subject: [PATCH] Add open-discord-website.ps1 --- Docs/VoiceControl.md | 2 +- Scripts/open-discord-website.ps1 | 15 +++++++++++++++ 2 files changed, 16 insertions(+), 1 deletion(-) create mode 100644 Scripts/open-discord-website.ps1 diff --git a/Docs/VoiceControl.md b/Docs/VoiceControl.md index 58231ca7..99086265 100644 --- a/Docs/VoiceControl.md +++ b/Docs/VoiceControl.md @@ -51,7 +51,7 @@ When finished say: *"Computer, close file explorer"* to close the File Explorer. *"Computer, open [name] website."* --------------------------------- -Launches the default Web browser with the given website - replace [name] by: `Amazon`, `Apple`, `Baidu`, `BBC`, `Bing`, `BitBucket`, `CDC`, `CIA`, `CNN`, `DistroWatch`, `Dropbox`, `eBay`, `Facebook`, `FBI`, `Flipboard`, `FourSquare`, `FRITZ!Box`, `FRITZ!Repeater`, `GitHub`, `GliderTracker`, `HolidayCheck`, `HRworks`, `Instagram`, `IPFS`, `Microsoft`, `NASA`, `NBC`, `Netflix`, `Notepad`, `Outdoor Active`, `PayPal`, `Pinterest`, `Pixabay`, `Plex`, `Serenade`, `Slashdot`, `Snap Store`, `Starbucks`, `Tesla`, `TikTok`, `Toggl`, `Topo Map`, `Twitter`, `UFA`, `Unsplash`, `Walmart`, `WhatsApp`, `White House`, `Windy`, `Wikipedia`, `Wired`, `Wolfram Alpha`, `World News`, `Yahoo`, or `YouTube`. +Launches the default Web browser with the given website - replace [name] by: `Amazon`, `Apple`, `Baidu`, `BBC`, `Bing`, `BitBucket`, `CDC`, `CIA`, `CNN`, `Discord`, `DistroWatch`, `Dropbox`, `eBay`, `Facebook`, `FBI`, `Flipboard`, `FourSquare`, `FRITZ!Box`, `FRITZ!Repeater`, `GitHub`, `GliderTracker`, `HolidayCheck`, `HRworks`, `Instagram`, `IPFS`, `Microsoft`, `NASA`, `NBC`, `Netflix`, `Notepad`, `Outdoor Active`, `PayPal`, `Pinterest`, `Pixabay`, `Plex`, `Serenade`, `Slashdot`, `Snap Store`, `Starbucks`, `Tesla`, `TikTok`, `Toggl`, `Topo Map`, `Twitter`, `UFA`, `Unsplash`, `Walmart`, `WhatsApp`, `White House`, `Windy`, `Wikipedia`, `Wired`, `Wolfram Alpha`, `World News`, `Yahoo`, or `YouTube`. When finished say: *"Close tab"* or: *"Computer, close [name] browser"* to close the Web browser. diff --git a/Scripts/open-discord-website.ps1 b/Scripts/open-discord-website.ps1 new file mode 100644 index 00000000..fc902785 --- /dev/null +++ b/Scripts/open-discord-website.ps1 @@ -0,0 +1,15 @@ +<# +.SYNOPSIS + Opens the Discord website +.DESCRIPTION + This script launches the Web browser with the Discord website. +.EXAMPLE + PS> ./open-discord-website +.NOTES + Author: Markus Fleschutz · License: CC0 +.LINK + https://github.com/fleschutz/PowerShell +#> + +& "$PSScriptRoot/open-default-browser.ps1" "https://discord.com/" +exit 0 # success