Update FAQ.md

This commit is contained in:
Markus Fleschutz 2021-10-28 09:07:04 +02:00 committed by GitHub
parent 1d335fb513
commit 75102e41d1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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) * 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? How to execute PowerShell scripts by voice?
---------------------------------------------------- -------------------------------------------
1. Download and install the PowerShell scripts and set the search path to it. 1. Download and install Serenade from https://serenade.ai/.
2. Download and install Serenade from https://serenade.ai/. 2. Download this PowerShell script collection and set the search path to it.
3. Execute "./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. 4. Start Serenade and click the Pause button to enable Listening mode.
5. Open Windows Terminal and click into the window. 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'). 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 application (using PowerShell script 'close-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? Which editor to use for PowerShell scripts?