Rename to open/close-thunderbird-app.ps1

This commit is contained in:
Markus Fleschutz 2021-11-21 12:21:34 +01:00
parent 5f395f6e9a
commit dbb442c7ad
4 changed files with 14 additions and 14 deletions

View File

@ -6,7 +6,7 @@ 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'. Recommended wake words with a high detection rate are: "Alexa", "Computer", "Siri" and "Windows".
3. Execute: `./export-to-serenade.ps1 computer` in the *PowerShell Scripts* - 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
@ -28,7 +28,7 @@ More supported voice commands are:
[wake word], open NAME app
--------------------------
* this launches the given application.
* replace NAME by: "Calculator", "Netflix", or "Visual Studio".
* replace NAME by: "Calculator", "Netflix", "Thunderbird", or "Visual Studio".
* when finished use: *[wake word], close NAME app* to stop the application.

View File

@ -1,10 +1,10 @@
<#
.SYNOPSIS
Closes Mozilla Thunderbird
Closes the Thunderbird app
.DESCRIPTION
This script closes the Mozilla Thunderbird email client gracefully.
This script closes the Mozilla Thunderbird email application gracefully.
.EXAMPLE
PS> ./close-mozilla-thunderbird
PS> ./close-thunderbird-app
.NOTES
Author: Markus Fleschutz · License: CC0
.LINK

View File

@ -10,11 +10,11 @@
.PARAMETER Application
Specifies the application to be used
.PARAMETER TargetFile
Specifies the target file ("$HOME/.serenade/scripts/PowerShell.js" by default)
Specifies the target file ("$HOME\.serenade\scripts\PowerShell.js" by default)
.EXAMPLE
PS> ./export-to-serenade.ps1 Computer
Exporting 264 PowerShell scripts to C:\Users\Markus/.serenade/scripts/PowerShell.js...
exported 264 scripts with wakework "Computer" to Serenade in 22 sec
Exporting 496 PowerShell scripts to C:\Users\Markus\.serenade\scripts\PowerShell.js...
exported 496 scripts with wake word "Computer" to Serenade in 3 sec
.NOTES
Author: Markus Fleschutz · License: CC0
.LINK
@ -23,7 +23,7 @@
#requires -version 2
param([string]$WakeWord = "", [string]$FilePattern = "$PSScriptRoot/*.ps1", [string]$Application = "terminal", [string]$TargetFile = "$HOME/.serenade/scripts/PowerShell.js")
param([string]$WakeWord = "", [string]$FilePattern = "$PSScriptRoot/*.ps1", [string]$Application = "terminal", [string]$TargetFile = "$HOME\.serenade\scripts\PowerShell.js")
try {
$StopWatch = [system.diagnostics.stopwatch]::startNew()

View File

@ -1,10 +1,10 @@
<#
.SYNOPSIS
Launches Mozilla Thunderbird
Launches the Thunderbird app
.DESCRIPTION
This script launches the Mozilla Thunderbird email client.
This script launches the Mozilla Thunderbird email application.
.EXAMPLE
PS> ./open-mozilla-thunderbird
PS> ./open-thunderbird-app
.NOTES
Author: Markus Fleschutz · License: CC0
.LINK