2021-11-19 08:32:30 +01:00
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 once: `./export-to-serenade.ps1 computer` - this creates a custom JavaScript file at `$HOME/.serenade/scripts/PowerShell.js` using the wake word 'computer'.
4. Launch *Serenade* and click the Pause button to enable Listening mode.
5. Launch *Windows Terminal* and click into the window.
6. Say: `Computer, open calculator` - this launches the calculator application by executing the PowerShell script `open-calculator.ps1` .
More voice commands are:
2021-11-18 11:45:32 +01:00
2021-11-18 15:16:08 +01:00
[wake word], open NAME
----------------------
* this launches the given application.
* replace NAME by: "calculator", "Google Chrome", "Microsoft Edge", "Mozilla Firefox", "Netflix".
* afterward, use *[wake word], close NAME* to close the application.
2021-11-18 11:45:32 +01:00
2021-11-18 11:55:41 +01:00
2021-11-18 15:10:00 +01:00
[wake word], open NAME drive
----------------------------
* this launches the File Explorer with the given drive.
* replace NAME by: "C:", "D:", "E:", "F:", or "M:".
2021-11-18 15:16:08 +01:00
* afterward, use *[wake word], close file explorer* to close the file explorer.
2021-11-18 15:10:00 +01:00
[wake word], open NAME folder
-----------------------------
2021-11-18 15:45:25 +01:00
* this launches the File Explorer with the given folder.
2021-11-18 15:10:00 +01:00
* replace NAME by: "downloads", "dropbox", "home", "music", "pictures", "repos", or "videos".
2021-11-18 15:16:08 +01:00
* afterward, use *[wake word], close file explorer* to close the file explorer.
2021-11-18 11:55:41 +01:00
2021-11-18 15:16:08 +01:00
[wake word], open NAME website
------------------------------
2021-11-18 15:33:46 +01:00
* this launches the default browser with the given website.
2021-11-18 17:04:18 +01:00
* replace NAME by: "Amazon", "Baidu", "BBC", "CDC", "CIA", "CNN", "eBay", "Facebook", "FBI", "Instagram", "Microsoft", "NASA", "NBC", "Pinterest", "Pixabay", "Slashdot", "Tesla", "Twitter", "UFA", "Unsplash", "Walmart", "WhatsApp", "White House", "Wikipedia", "Wired", or "Yahoo".
2021-11-18 11:55:41 +01:00
2021-11-18 11:45:32 +01:00
2021-11-18 15:16:08 +01:00
[wake word], show NAME city
---------------------------
2021-11-18 15:33:46 +01:00
* this launches the default browser with Google Maps showing the given city.
* replace NAME by: "Atlanta", "Barcelona", "Berlin", "Boston", "Cairo", "Cape Town", "Chicago", "Dallas", "Dubai", "Dublin", "Frankfurt", "Hamburg", "Hong Kong", "Jerusalem", "Las Vegas", "Lissabon", "London", "Los Angeles", "Madrid", "Miami", "Moscow", "Munich", "New York", "Paris", Rome", "San Francisco", "Seattle", "Singapore", "Sydney", "Tokyo", "Toronto", or "Washington".
2021-11-18 11:55:41 +01:00
2021-11-18 15:16:08 +01:00
[wake word], play radio NAME
----------------------------
2021-11-18 15:33:46 +01:00
* this launches the default browser and tunes into an internet radio station stream.
* replace NAME: by "Arabella", "Bob", "Galaxy", "7", "Gong", "Kiss Kiss", "N-JOY", ...
2021-11-18 11:45:32 +01:00
Conversation
------------
2021-11-18 12:02:13 +01:00
1. *[wake word], good morning.*
2. *[wake word], good evening.*
3. *[wake word], good night.*
4. *[wake word], how are you?*
5. *[wake word], thank you.*