mirror of
https://github.com/fleschutz/PowerShell.git
synced 2024-11-08 09:04:18 +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
|
Executing PowerShell Scripts by Voice
|
||||||
=====================================
|
=====================================
|
||||||
|
|
||||||
|
|
||||||
Installation
|
Installation
|
||||||
------------
|
------------
|
||||||
1. Download and install *Serenade* from https://serenade.ai/.
|
1. Download and install *Serenade* from https://serenade.ai/.
|
||||||
2. Download and install the *PowerShell Scripts*, then set the search path to it.
|
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
|
Usage
|
||||||
-----
|
-----
|
||||||
@ -15,10 +17,18 @@ Usage
|
|||||||
|
|
||||||
More supported voice commands are:
|
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
|
[wake word], open NAME
|
||||||
----------------------
|
----------------------
|
||||||
* this launches the given application.
|
* 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*
|
* to close the application, use: *[wake word], close NAME*
|
||||||
|
|
||||||
|
|
||||||
|
@ -1,10 +1,10 @@
|
|||||||
<#
|
<#
|
||||||
.SYNOPSIS
|
.SYNOPSIS
|
||||||
Closes the Google Chrome Web browser
|
Closes the Chrome browser
|
||||||
.DESCRIPTION
|
.DESCRIPTION
|
||||||
This script closes the Google Chrome Web browser gracefully.
|
This script closes the Google Chrome Web browser gracefully.
|
||||||
.EXAMPLE
|
.EXAMPLE
|
||||||
PS> ./close-google-chrome
|
PS> ./close-chrome-browser
|
||||||
.NOTES
|
.NOTES
|
||||||
Author: Markus Fleschutz · License: CC0
|
Author: Markus Fleschutz · License: CC0
|
||||||
.LINK
|
.LINK
|
@ -1,10 +1,10 @@
|
|||||||
<#
|
<#
|
||||||
.SYNOPSIS
|
.SYNOPSIS
|
||||||
Closes Microsoft Edge
|
Closes the Edge browser
|
||||||
.DESCRIPTION
|
.DESCRIPTION
|
||||||
This script closes the Microsoft Edge Web browser gracefully.
|
This script closes the Microsoft Edge Web browser gracefully.
|
||||||
.EXAMPLE
|
.EXAMPLE
|
||||||
PS> ./close-microsoft-edge
|
PS> ./close-edge-browser
|
||||||
.NOTES
|
.NOTES
|
||||||
Author: Markus Fleschutz · License: CC0
|
Author: Markus Fleschutz · License: CC0
|
||||||
.LINK
|
.LINK
|
@ -1,10 +1,10 @@
|
|||||||
<#
|
<#
|
||||||
.SYNOPSIS
|
.SYNOPSIS
|
||||||
Closes Mozilla's Firefox Web browser
|
Closes the Firefox browser
|
||||||
.DESCRIPTION
|
.DESCRIPTION
|
||||||
This script closes Mozilla's Firefox Web browser gracefully.
|
This script closes the Mozilla Firefox Web browser gracefully.
|
||||||
.EXAMPLE
|
.EXAMPLE
|
||||||
PS> ./close-mozilla-firefox
|
PS> ./close-firefox-browser
|
||||||
.NOTES
|
.NOTES
|
||||||
Author: Markus Fleschutz · License: CC0
|
Author: Markus Fleschutz · License: CC0
|
||||||
.LINK
|
.LINK
|
@ -1,10 +1,10 @@
|
|||||||
<#
|
<#
|
||||||
.SYNOPSIS
|
.SYNOPSIS
|
||||||
Installs the latest Google Chrome browser
|
Installs the Chrome browser
|
||||||
.DESCRIPTION
|
.DESCRIPTION
|
||||||
This script installs the latest Google Chrome Web browser.
|
This script installs the latest Google Chrome Web browser.
|
||||||
.EXAMPLE
|
.EXAMPLE
|
||||||
PS> ./install-google-chrome
|
PS> ./install-chrome-browser
|
||||||
.NOTES
|
.NOTES
|
||||||
Author: Markus Fleschutz · License: CC0
|
Author: Markus Fleschutz · License: CC0
|
||||||
.LINK
|
.LINK
|
@ -1,10 +1,10 @@
|
|||||||
<#
|
<#
|
||||||
.SYNOPSIS
|
.SYNOPSIS
|
||||||
Launches the Google Chrome Web browser
|
Launches the Chrome browser
|
||||||
.DESCRIPTION
|
.DESCRIPTION
|
||||||
This script launches the Google Chrome Web browser.
|
This script launches the Google Chrome Web browser.
|
||||||
.EXAMPLE
|
.EXAMPLE
|
||||||
PS> ./open-google-chrome
|
PS> ./open-chrome-browser
|
||||||
.PARAMETER URL
|
.PARAMETER URL
|
||||||
Specifies an optional URL
|
Specifies an optional URL
|
||||||
.NOTES
|
.NOTES
|
@ -1,10 +1,10 @@
|
|||||||
<#
|
<#
|
||||||
.SYNOPSIS
|
.SYNOPSIS
|
||||||
Launches Microsoft Edge
|
Launches the Edge browser
|
||||||
.DESCRIPTION
|
.DESCRIPTION
|
||||||
This script launches the Microsoft Edge Web browser.
|
This script launches the Microsoft Edge Web browser.
|
||||||
.EXAMPLE
|
.EXAMPLE
|
||||||
PS> ./open-microsoft-edge
|
PS> ./open-edge-browser
|
||||||
.NOTES
|
.NOTES
|
||||||
Author: Markus Fleschutz · License: CC0
|
Author: Markus Fleschutz · License: CC0
|
||||||
.LINK
|
.LINK
|
@ -1,10 +1,10 @@
|
|||||||
<#
|
<#
|
||||||
.SYNOPSIS
|
.SYNOPSIS
|
||||||
Launches the Mozilla Firefox Web browser
|
Launches the Firefox browser
|
||||||
.DESCRIPTION
|
.DESCRIPTION
|
||||||
This script launches the Mozilla Firefox Web browser.
|
This script launches the Mozilla Firefox Web browser.
|
||||||
.EXAMPLE
|
.EXAMPLE
|
||||||
PS> ./open-mozilla-firefox
|
PS> ./open-firefox-browser
|
||||||
.PARAMETER URL
|
.PARAMETER URL
|
||||||
Specifies an optional URL
|
Specifies an optional URL
|
||||||
.NOTES
|
.NOTES
|
Loading…
Reference in New Issue
Block a user