From 8ce77eb59c219113aefcdfef144fdb71782261a2 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Mon, 29 Nov 2021 15:47:22 +0100 Subject: [PATCH] Add show-edge-manual.ps1 and show-firefox-manual.ps1 --- Docs/VoiceControl.md | 2 +- Scripts/show-edge-manual.ps1 | 15 +++++++++++++++ Scripts/show-firefox-manual.ps1 | 15 +++++++++++++++ 3 files changed, 31 insertions(+), 1 deletion(-) create mode 100755 Scripts/show-edge-manual.ps1 create mode 100755 Scripts/show-firefox-manual.ps1 diff --git a/Docs/VoiceControl.md b/Docs/VoiceControl.md index 9360f8cb..33818719 100644 --- a/Docs/VoiceControl.md +++ b/Docs/VoiceControl.md @@ -83,7 +83,7 @@ Computer, play `name` game Computer, show `name` manual ---------------------------- * launches the default Web browser with the given manual. -* replace `name` by: "Chrome", "PowerShell", or "Serenade". +* replace `name` by: "Chrome", "Edge", "Firefox", "PowerShell", or "Serenade". * when finished use: *Close tab* or: "Computer, close `name` browser" to close the Web browser. diff --git a/Scripts/show-edge-manual.ps1 b/Scripts/show-edge-manual.ps1 new file mode 100755 index 00000000..af29a3eb --- /dev/null +++ b/Scripts/show-edge-manual.ps1 @@ -0,0 +1,15 @@ +<# +.SYNOPSIS + Shows the Microsoft Edge manual +.DESCRIPTION + This script launches the Web browser with the Microsoft Edge manual. +.EXAMPLE + PS> ./show-edge-manual +.NOTES + Author: Markus Fleschutz · License: CC0 +.LINK + https://github.com/fleschutz/PowerShell +#> + +& "$PSScriptRoot/open-default-browser.ps1" "https://docs.microsoft.com/en-us/microsoft-edge/" +exit 0 # success diff --git a/Scripts/show-firefox-manual.ps1 b/Scripts/show-firefox-manual.ps1 new file mode 100755 index 00000000..236d0772 --- /dev/null +++ b/Scripts/show-firefox-manual.ps1 @@ -0,0 +1,15 @@ +<# +.SYNOPSIS + Shows the Firefox manual +.DESCRIPTION + This script launches the Web browser with the Firefox manual. +.EXAMPLE + PS> ./show-firefox-manual +.NOTES + Author: Markus Fleschutz · License: CC0 +.LINK + https://github.com/fleschutz/PowerShell +#> + +& "$PSScriptRoot/open-default-browser.ps1" "https://support.mozilla.org/en-US/products/firefox" +exit 0 # success