From 97700426e356ea51088b52af39415ea6a1f440ed Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Wed, 27 Oct 2021 08:51:34 +0200 Subject: [PATCH] Add open-fritz-box.ps1 --- Data/scripts.csv | 1 + Docs/close-thunderbird.md | 4 ++-- Docs/open-c-drive.md | 2 +- Docs/open-facebook.md | 2 +- Docs/open-fritz-box.md | 26 ++++++++++++++++++++++++++ Docs/open-github.md | 26 ++++++++++++++++++++++++++ Docs/speak-countdown.md | 2 +- Docs/speak-english.md | 1 + Docs/speak-french.md | 3 ++- Docs/speak-german.md | 1 + Docs/speak-italian.md | 1 + Docs/speak-spanish.md | 1 + README.md | 1 + Scripts/open-fritz-box.ps1 | 15 +++++++++++++++ 14 files changed, 80 insertions(+), 6 deletions(-) create mode 100644 Docs/open-fritz-box.md create mode 100644 Docs/open-github.md create mode 100755 Scripts/open-fritz-box.ps1 diff --git a/Data/scripts.csv b/Data/scripts.csv index 1c67530e..7a4b9035 100644 --- a/Data/scripts.csv +++ b/Data/scripts.csv @@ -168,6 +168,7 @@ open-dropbox-folder.ps1, Opens the user's Dropbox folder open-email-client.ps1, Starts the default email client open-facebook.ps1, Opens Facebook's website open-file-explorer.ps1, Opens the File Explorer +open-fritz-box.ps1, Opens FRITZ!Box's web interface open-github.ps1, Opens GitHub's website open-google-contacts.ps1, Opens Google Contacts open-google-earth.ps1, Opens Google Earth diff --git a/Docs/close-thunderbird.md b/Docs/close-thunderbird.md index cc01fa47..3fd43bbd 100644 --- a/Docs/close-thunderbird.md +++ b/Docs/close-thunderbird.md @@ -1,6 +1,6 @@ -## close-thunderbird.ps1 - Closes Mozilla's Thunderbird email client +## close-thunderbird.ps1 - Closes the Mozilla Thunderbird email client -This script closes Mozilla's Thunderbird email client gracefully. +This script closes the Mozilla Thunderbird email client gracefully. ## Parameters ```powershell diff --git a/Docs/open-c-drive.md b/Docs/open-c-drive.md index 75a688f2..c937a7cc 100644 --- a/Docs/open-c-drive.md +++ b/Docs/open-c-drive.md @@ -1,6 +1,6 @@ ## open-c-drive.ps1 - Opens the C: drive folder -This script starts the File Explorer and shows the C: drive folder. +This script starts the File Explorer showing the C: drive folder. ## Parameters ```powershell diff --git a/Docs/open-facebook.md b/Docs/open-facebook.md index 9a420fd7..32f5477b 100644 --- a/Docs/open-facebook.md +++ b/Docs/open-facebook.md @@ -1,6 +1,6 @@ ## open-facebook.ps1 - Opens Facebook's website -This script starts the Web browser and opens Facebook's website. +This script starts the Web browser with Facebook's website. ## Parameters ```powershell diff --git a/Docs/open-fritz-box.md b/Docs/open-fritz-box.md new file mode 100644 index 00000000..92fbabc6 --- /dev/null +++ b/Docs/open-fritz-box.md @@ -0,0 +1,26 @@ +## open-fritz-box.ps1 - Opens FRITZ!Box's Web interface + +This script starts the Web browser with FRITZ!Box's Web interface. + +## Parameters +```powershell +open-fritz-box.ps1 [] + +[] + This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +## Example +```powershell +PS> ./open-fritz-box + +``` + +## Notes +Author: Markus Fleschutz · License: CC0 + +## Related Links +https://github.com/fleschutz/PowerShell + +*Generated by convert-ps2md.ps1 using the comment-based help of open-fritz-box.ps1* diff --git a/Docs/open-github.md b/Docs/open-github.md new file mode 100644 index 00000000..fce275e9 --- /dev/null +++ b/Docs/open-github.md @@ -0,0 +1,26 @@ +## open-github.ps1 - Opens GitHub's website + +This script starts the Web browser with GitHub's website. + +## Parameters +```powershell +open-github.ps1 [] + +[] + This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +## Example +```powershell +PS> ./open-github + +``` + +## Notes +Author: Markus Fleschutz · License: CC0 + +## Related Links +https://github.com/fleschutz/PowerShell + +*Generated by convert-ps2md.ps1 using the comment-based help of open-github.ps1* diff --git a/Docs/speak-countdown.md b/Docs/speak-countdown.md index b4a5ffac..a02210b6 100644 --- a/Docs/speak-countdown.md +++ b/Docs/speak-countdown.md @@ -1,6 +1,6 @@ ## speak-countdown.ps1 - Speaks a countdown by text-to-speech -This scripts speaks a countdown by text-to-speech (TTS). +This scripts speaks a countdown starting from a given number (10 by default) by text-to-speech (TTS). ## Parameters ```powershell diff --git a/Docs/speak-english.md b/Docs/speak-english.md index 4cdac800..96fa42a7 100644 --- a/Docs/speak-english.md +++ b/Docs/speak-english.md @@ -1,6 +1,7 @@ ## speak-english.ps1 - Speaks text with an English text-to-speech voice This scripts speaks the given text with an English text-to-speech (TTS) voice. +Requires that an English TTS voice is installed. ## Parameters ```powershell diff --git a/Docs/speak-french.md b/Docs/speak-french.md index 78493414..0caf5993 100644 --- a/Docs/speak-french.md +++ b/Docs/speak-french.md @@ -1,6 +1,7 @@ ## speak-french.ps1 - Speaks text with a French text-to-speech voice -This script speaks the given text with a French text-to-speech (TTS) voice +This script speaks the given text with a French text-to-speech (TTS) voice. +Requires that a French TTS voice is installed. ## Parameters ```powershell diff --git a/Docs/speak-german.md b/Docs/speak-german.md index c404de31..7e0b8b47 100644 --- a/Docs/speak-german.md +++ b/Docs/speak-german.md @@ -1,6 +1,7 @@ ## speak-german.ps1 - Speaks text with a German text-to-speech voice This script speaks the given text with a German text-to-speech (TTS) voice. +Requires that a German TTS voice is installed. ## Parameters ```powershell diff --git a/Docs/speak-italian.md b/Docs/speak-italian.md index f7acf3df..70c2f2c6 100644 --- a/Docs/speak-italian.md +++ b/Docs/speak-italian.md @@ -1,6 +1,7 @@ ## speak-italian.ps1 - Speaks text with an Italian text-to-speech voice This script speaks the given text with an Italian text-to-speech (TTS) voice. +Requires that an Italian TTS voice is installed. ## Parameters ```powershell diff --git a/Docs/speak-spanish.md b/Docs/speak-spanish.md index 94e3c9a9..09cd7b99 100644 --- a/Docs/speak-spanish.md +++ b/Docs/speak-spanish.md @@ -1,6 +1,7 @@ ## speak-spanish.ps1 - Speaks text with a Spanish text-to-speech voice This script speaks the given text with a Spanish text-to-speech (TTS) voice. +Requires that a Spanish TTS voice is installed. ## Parameters ```powershell diff --git a/README.md b/README.md index b625609e..59450ad4 100644 --- a/README.md +++ b/README.md @@ -123,6 +123,7 @@ Mega Collection of PowerShell Scripts | [open-email-client.ps1](Scripts/open-browser.ps1) | Starts the default email client | [Help](Docs/open-email-client.md) | | [open-facebook.ps1](Scripts/open-facebook.ps1) | Opens Facebook's website | [Help](Docs/open-facebook.md) | | [open-file-explorer.ps1](Scripts/open-file-explorer.ps1) | Opens the File Explorer | [Help](Docs/open-file-explorer.md) | +| [open-fritz-box.ps1](Scripts/open-fritz-box.ps1) | Opens FRITZ!Box's web interface | [Help](Docs/open-fritz-box.md) | | [open-github.ps1](Scripts/open-github.ps1) | Opens GitHub's website | [Help](Docs/open-github.md) | | [open-google-contacts.ps1](Scripts/open-google-contacts.ps1) | Opens Google Contacts | [Help](Docs/open-google-contacts.md) | | [open-google-earth.ps1](Scripts/open-google-earth.ps1) | Opens Google Earth | [Help](Docs/open-google-earth.md) | diff --git a/Scripts/open-fritz-box.ps1 b/Scripts/open-fritz-box.ps1 new file mode 100755 index 00000000..007968e9 --- /dev/null +++ b/Scripts/open-fritz-box.ps1 @@ -0,0 +1,15 @@ +<# +.SYNOPSIS + Opens FRITZ!Box's Web interface +.DESCRIPTION + This script starts the Web browser with FRITZ!Box's Web interface. +.EXAMPLE + PS> ./open-fritz-box +.NOTES + Author: Markus Fleschutz · License: CC0 +.LINK + https://github.com/fleschutz/PowerShell +#> + +& "$PSScriptRoot/open-browser.ps1" "http://fritz.box" +exit 0 # success