mirror of
https://github.com/fleschutz/PowerShell.git
synced 2024-11-22 16:03:22 +01:00
Renamed to open/close-*-browser.ps1
This commit is contained in:
parent
bf3910a180
commit
15e055456a
@ -1,11 +1,13 @@
|
||||
Executing PowerShell Scripts by Voice
|
||||
=====================================
|
||||
|
||||
|
||||
Installation
|
||||
------------
|
||||
1. Download and install *Serenade* from https://serenade.ai/.
|
||||
2. Download and install the *PowerShell Scripts*, then set the search path to it.
|
||||
3. Execute the PowerShell script: `./export-to-serenade.ps1 computer` - this creates a custom JavaScript file at `$HOME/.serenade/scripts/PowerShell.js` using the wake word 'computer'.
|
||||
3. Execute the PowerShell script: `./export-to-serenade.ps1 computer` - this creates a custom JavaScript file at `$HOME/.serenade/scripts/PowerShell.js` using the wake word 'computer'. Recommended wake words with a high detection rate are: "Alexa", "Computer", "Siri" and "Windows".
|
||||
|
||||
|
||||
Usage
|
||||
-----
|
||||
@ -15,10 +17,18 @@ Usage
|
||||
|
||||
More supported voice commands are:
|
||||
|
||||
|
||||
[wake word], open NAME browser
|
||||
------------------------------
|
||||
* this launches the given Web browser.
|
||||
* replace NAME by: "Chrome", "Edge", or "Firefox".
|
||||
* use: *[wake word], close NAME browser* to stop the Web browser afterward.
|
||||
|
||||
|
||||
[wake word], open NAME
|
||||
----------------------
|
||||
* this launches the given application.
|
||||
* replace NAME by: "calculator", "Google Chrome", "Microsoft Edge", "Mozilla Firefox", "Netflix".
|
||||
* replace NAME by: "calculator", "Netflix".
|
||||
* to close the application, use: *[wake word], close NAME*
|
||||
|
||||
|
||||
|
@ -1,10 +1,10 @@
|
||||
<#
|
||||
.SYNOPSIS
|
||||
Closes the Google Chrome Web browser
|
||||
Closes the Chrome browser
|
||||
.DESCRIPTION
|
||||
This script closes the Google Chrome Web browser gracefully.
|
||||
.EXAMPLE
|
||||
PS> ./close-google-chrome
|
||||
PS> ./close-chrome-browser
|
||||
.NOTES
|
||||
Author: Markus Fleschutz · License: CC0
|
||||
.LINK
|
@ -1,10 +1,10 @@
|
||||
<#
|
||||
.SYNOPSIS
|
||||
Closes Microsoft Edge
|
||||
Closes the Edge browser
|
||||
.DESCRIPTION
|
||||
This script closes the Microsoft Edge Web browser gracefully.
|
||||
.EXAMPLE
|
||||
PS> ./close-microsoft-edge
|
||||
PS> ./close-edge-browser
|
||||
.NOTES
|
||||
Author: Markus Fleschutz · License: CC0
|
||||
.LINK
|
@ -1,10 +1,10 @@
|
||||
<#
|
||||
.SYNOPSIS
|
||||
Closes Mozilla's Firefox Web browser
|
||||
Closes the Firefox browser
|
||||
.DESCRIPTION
|
||||
This script closes Mozilla's Firefox Web browser gracefully.
|
||||
This script closes the Mozilla Firefox Web browser gracefully.
|
||||
.EXAMPLE
|
||||
PS> ./close-mozilla-firefox
|
||||
PS> ./close-firefox-browser
|
||||
.NOTES
|
||||
Author: Markus Fleschutz · License: CC0
|
||||
.LINK
|
@ -1,10 +1,10 @@
|
||||
<#
|
||||
.SYNOPSIS
|
||||
Installs the latest Google Chrome browser
|
||||
Installs the Chrome browser
|
||||
.DESCRIPTION
|
||||
This script installs the latest Google Chrome Web browser.
|
||||
.EXAMPLE
|
||||
PS> ./install-google-chrome
|
||||
PS> ./install-chrome-browser
|
||||
.NOTES
|
||||
Author: Markus Fleschutz · License: CC0
|
||||
.LINK
|
@ -1,10 +1,10 @@
|
||||
<#
|
||||
.SYNOPSIS
|
||||
Launches the Google Chrome Web browser
|
||||
Launches the Chrome browser
|
||||
.DESCRIPTION
|
||||
This script launches the Google Chrome Web browser.
|
||||
.EXAMPLE
|
||||
PS> ./open-google-chrome
|
||||
PS> ./open-chrome-browser
|
||||
.PARAMETER URL
|
||||
Specifies an optional URL
|
||||
.NOTES
|
@ -1,10 +1,10 @@
|
||||
<#
|
||||
.SYNOPSIS
|
||||
Launches Microsoft Edge
|
||||
Launches the Edge browser
|
||||
.DESCRIPTION
|
||||
This script launches the Microsoft Edge Web browser.
|
||||
.EXAMPLE
|
||||
PS> ./open-microsoft-edge
|
||||
PS> ./open-edge-browser
|
||||
.NOTES
|
||||
Author: Markus Fleschutz · License: CC0
|
||||
.LINK
|
@ -1,10 +1,10 @@
|
||||
<#
|
||||
.SYNOPSIS
|
||||
Launches the Mozilla Firefox Web browser
|
||||
Launches the Firefox browser
|
||||
.DESCRIPTION
|
||||
This script launches the Mozilla Firefox Web browser.
|
||||
.EXAMPLE
|
||||
PS> ./open-mozilla-firefox
|
||||
PS> ./open-firefox-browser
|
||||
.PARAMETER URL
|
||||
Specifies an optional URL
|
||||
.NOTES
|
Loading…
Reference in New Issue
Block a user