From 75102e41d18b4f64ab571426ec847d03f169ff62 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Thu, 28 Oct 2021 09:07:04 +0200 Subject: [PATCH 1/5] Update FAQ.md --- Docs/FAQ.md | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/Docs/FAQ.md b/Docs/FAQ.md index a7691a40..79dc93e6 100644 --- a/Docs/FAQ.md +++ b/Docs/FAQ.md @@ -60,15 +60,15 @@ How to use PowerShell in Windows context menus? * to disable this execute `Remove_ps1_from_New_context_menu.reg` in subfolder [Data/](../Data) -How to use Serenade to execute the scripts by voice? ----------------------------------------------------- -1. Download and install the PowerShell scripts and set the search path to it. -2. Download and install Serenade from https://serenade.ai/. -3. Execute "./export-to-serenade.ps1 Computer" - this creates the custom JavaScript file $HOME/.serenade/scripts/PowerShell.js with wakeword 'Computer'. +How to execute PowerShell scripts by voice? +------------------------------------------- +1. Download and install Serenade from https://serenade.ai/. +2. Download this PowerShell script collection and set the search path to it. +3. Execute once "./export-to-serenade.ps1 Computer" - this creates the custom JavaScript file $HOME/.serenade/scripts/PowerShell.js with wakeword 'Computer'. 4. Start Serenade and click the Pause button to enable Listening mode. 5. Open Windows Terminal and click into the window. -6. Say: "Computer, open calculator" - this starts the calculator application (using PowerShell script 'open-calculator.ps1'). -7. Say: "Computer, close calculator" - this stops the calculator application (using PowerShell script 'close-calculator.ps1'). +6. Say: "Computer, open calculator" - this launches the calculator app using PowerShell script 'open-calculator.ps1'. +7. Say: "Computer, close calculator" - this stops the calculator appl using PowerShell script 'close-calculator.ps1'. Which editor to use for PowerShell scripts? From 5364f9d3038021598340ae51c300c0d2679e8d7d Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Thu, 28 Oct 2021 09:10:05 +0200 Subject: [PATCH 2/5] Update FAQ.md --- Docs/FAQ.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Docs/FAQ.md b/Docs/FAQ.md index 79dc93e6..1e06dcc3 100644 --- a/Docs/FAQ.md +++ b/Docs/FAQ.md @@ -64,11 +64,11 @@ How to execute PowerShell scripts by voice? ------------------------------------------- 1. Download and install Serenade from https://serenade.ai/. 2. Download this PowerShell script collection and set the search path to it. -3. Execute once "./export-to-serenade.ps1 Computer" - this creates the custom JavaScript file $HOME/.serenade/scripts/PowerShell.js with wakeword 'Computer'. +3. Execute once `./export-to-serenade.ps1 Computer` (this creates the custom JavaScript file $HOME/.serenade/scripts/PowerShell.js with wakeword 'Computer'). 4. Start Serenade and click the Pause button to enable Listening mode. 5. Open Windows Terminal and click into the window. -6. Say: "Computer, open calculator" - this launches the calculator app using PowerShell script 'open-calculator.ps1'. -7. Say: "Computer, close calculator" - this stops the calculator appl using PowerShell script 'close-calculator.ps1'. +6. Say: `Computer, open calculator` (this launches the calculator app using PowerShell script: open-calculator.ps1). +7. Say: `Computer, close calculator` (this stops the calculator app using PowerShell script: close-calculator.ps1). Which editor to use for PowerShell scripts? From 13513ef400f17c4b09e52275366740847b3ee405 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Thu, 28 Oct 2021 09:11:55 +0200 Subject: [PATCH 3/5] Update FAQ.md --- Docs/FAQ.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Docs/FAQ.md b/Docs/FAQ.md index 1e06dcc3..d42b5656 100644 --- a/Docs/FAQ.md +++ b/Docs/FAQ.md @@ -30,8 +30,8 @@ How to get PowerShell? $ ln -s /snap/bin/pwsh /usr/bin/pwsh ``` -How to get the collection of PowerShell scripts? ------------------------------------------------- +How to get the PowerShell script collection? +-------------------------------------------- * Git users execute: `$ git clone https://github.com/fleschutz/PowerShell` * otherwise download and unzip: https://github.com/fleschutz/PowerShell/archive/master.zip From a6a7b72b7f4eb5fe5b383b4310331f3bf3d3078c Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Thu, 28 Oct 2021 09:13:11 +0200 Subject: [PATCH 4/5] Update FAQ.md --- Docs/FAQ.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Docs/FAQ.md b/Docs/FAQ.md index d42b5656..5bddaffa 100644 --- a/Docs/FAQ.md +++ b/Docs/FAQ.md @@ -64,7 +64,7 @@ How to execute PowerShell scripts by voice? ------------------------------------------- 1. Download and install Serenade from https://serenade.ai/. 2. Download this PowerShell script collection and set the search path to it. -3. Execute once `./export-to-serenade.ps1 Computer` (this creates the custom JavaScript file $HOME/.serenade/scripts/PowerShell.js with wakeword 'Computer'). +3. Execute once: `./export-to-serenade.ps1 Computer` (this creates the custom JavaScript file $HOME/.serenade/scripts/PowerShell.js with wakeword 'Computer'). 4. Start Serenade and click the Pause button to enable Listening mode. 5. Open Windows Terminal and click into the window. 6. Say: `Computer, open calculator` (this launches the calculator app using PowerShell script: open-calculator.ps1). From 9c394e2d3f8587d075f9f82c59e497c587b82168 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Thu, 28 Oct 2021 09:15:41 +0200 Subject: [PATCH 5/5] Update FAQ.md --- Docs/FAQ.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Docs/FAQ.md b/Docs/FAQ.md index 5bddaffa..48493ac2 100644 --- a/Docs/FAQ.md +++ b/Docs/FAQ.md @@ -64,7 +64,7 @@ How to execute PowerShell scripts by voice? ------------------------------------------- 1. Download and install Serenade from https://serenade.ai/. 2. Download this PowerShell script collection and set the search path to it. -3. Execute once: `./export-to-serenade.ps1 Computer` (this creates the custom JavaScript file $HOME/.serenade/scripts/PowerShell.js with wakeword 'Computer'). +3. Execute once: `./export-to-serenade.ps1 Computer` (this creates a custom JavaScript file in the home directory at .serenade/scripts/PowerShell.js using wakeword 'Computer'). 4. Start Serenade and click the Pause button to enable Listening mode. 5. Open Windows Terminal and click into the window. 6. Say: `Computer, open calculator` (this launches the calculator app using PowerShell script: open-calculator.ps1).