2021-11-19 08:32:30 +01:00
Executing PowerShell Scripts by Voice
=====================================
2021-11-21 11:51:43 +01:00
2021-11-19 08:32:30 +01:00
Installation
------------
1. Download and install *Serenade* from https://serenade.ai/.
2. Download and install the *PowerShell Scripts* , then set the search path to it.
2021-11-22 07:13:53 +01:00
3. Execute: `./export-to-serenade.ps1 Computer` in the *PowerShell Scripts* - this creates a custom JavaScript file using the wake word 'Computer' (at `$HOME/.serenade/scripts/PowerShell.js` ). Recommended wake words with a high detection rate are: "Alexa", "Computer", or "Windows". In the following, the wake word "Computer" is used.
2021-11-21 11:51:43 +01:00
2021-11-19 08:35:43 +01:00
Usage
-----
1. Launch *Serenade* and click the Pause button to enable Listening mode.
2. Launch *Windows Terminal* and click into the window.
2021-11-21 12:01:30 +01:00
3. Say: `Computer, open calculator app` - this executes the PowerShell script `open-calculator-app.ps1` to launch the calculator application.
2021-11-19 08:32:30 +01:00
2021-11-19 08:43:37 +01:00
More supported voice commands are:
2021-11-18 11:45:32 +01:00
2021-11-21 11:51:43 +01:00
2021-11-21 12:47:48 +01:00
Computer, open `name` browser
2021-11-21 12:40:46 +01:00
--------------------------------
2021-11-21 11:51:43 +01:00
* this launches the given Web browser.
2021-11-21 12:42:40 +01:00
* replace `name` by: "Chrome", "Edge", or "Firefox".
2021-11-21 12:47:48 +01:00
* when finished use: *Computer, close `name` browser* to stop the Web browser.
2021-11-21 11:51:43 +01:00
2021-11-21 22:30:19 +01:00
Computer, open `name` app
2021-11-21 12:01:30 +01:00
--------------------------
2021-11-18 15:16:08 +01:00
* this launches the given application.
2021-11-21 22:30:19 +01:00
* replace `name` by: "Calculator", "Git Extensions", "Netflix", "Spotify", "Thunderbird", or "Visual Studio".
* when finished use: *Computer, close `name` app* to stop the application.
2021-11-18 11:45:32 +01:00
2021-11-18 11:55:41 +01:00
2021-11-21 22:30:19 +01:00
Computer, open `name` drive
2021-11-18 15:10:00 +01:00
----------------------------
2021-11-21 12:29:59 +01:00
* this launches the File Explorer showing the content of the given drive.
2021-11-21 22:30:19 +01:00
* replace `name` by: "C:", "D:", "E:", "F:", or "M:".
2021-11-21 12:47:48 +01:00
* when finished use: *Computer, close file explorer* to stop the File Explorer.
2021-11-18 15:10:00 +01:00
2021-11-21 22:30:19 +01:00
Computer, open `name` folder
2021-11-21 12:47:48 +01:00
--------------------------
2021-11-18 15:45:25 +01:00
* this launches the File Explorer with the given folder.
2021-11-21 22:30:19 +01:00
* replace `name` by: "downloads", "dropbox", "home", "music", "pictures", "repos", or "videos".
2021-11-21 12:47:48 +01:00
* when finished use: *Computer, close file explorer* to stop the File Explorer.
2021-11-18 11:55:41 +01:00
2021-11-21 22:30:19 +01:00
Computer, open `name` settings
2021-11-21 12:14:18 +01:00
-------------------------------
* this launches the corresponding Windows settings.
2021-11-21 22:30:19 +01:00
* replace `name` by: "activation", "apps", "background", "backup", "bluetooth", "color", "date", "default apps", "developer", "display", "ethernet", "lockscreen", "maps", "printer", "proxy", "recovery", "speech", "start", "system", "taskbar", "themes", "time", "update", "usb", "vpn", or "wifi". Use "system" as top level settings.
2021-11-21 12:47:48 +01:00
* when finished use: *Computer, close system settings* to stop the Windows settings.
2021-11-21 12:14:18 +01:00
2021-11-21 22:30:19 +01:00
Computer, open `name` website
-----------------------------
2021-11-21 12:01:30 +01:00
* this launches the default Web browser with the given website.
2021-11-23 07:16:04 +01:00
* replace `name` by: "Amazon", "Baidu", "BBC", "CDC", "CIA", "CNN", "eBay", "Facebook", "FBI", "GitHub", "Instagram", "Microsoft", "NASA", "NBC", "Pinterest", "Pixabay", "Slashdot", "Tesla", "TikTok", "Twitter", "UFA", "Unsplash", "Walmart", "WhatsApp", "White House", "Wikipedia", "Wired", or "Yahoo".
2021-11-21 22:30:19 +01:00
* when finished see "Computer, close `name` browser" to stop the Web browser.
2021-11-18 11:55:41 +01:00
2021-11-18 11:45:32 +01:00
2021-11-21 22:30:19 +01:00
Computer, show `name` city
--------------------------
2021-11-21 12:01:30 +01:00
* this launches the default Web browser with Google Maps showing the given city.
2021-11-21 22:30:19 +01:00
* 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".
* when finished see "Computer, close `name` browser" to stop the Web browser.
2021-11-18 11:55:41 +01:00
2021-11-21 22:30:19 +01:00
Computer, play radio `name`
---------------------------
2021-11-21 12:01:30 +01:00
* this launches the default Web browser and tunes into an internet radio station stream.
2021-11-21 22:30:19 +01:00
* replace `name` : by "Arabella", "Bob", "Galaxy", "7", "Gong", "Kiss Kiss", "N-JOY", ...
* when finished see "Computer, close `name` browser" to stop the Web browser.
2021-11-18 11:45:32 +01:00
2021-11-21 22:30:19 +01:00
Computer, play `name` sound
---------------------------
2021-11-19 08:51:06 +01:00
* this starts a playback of the given audio sound.
2021-11-21 22:30:19 +01:00
* replace `name` : by "bee", "beep", "cat", "cow", "dog", "donkey", "elephant", "elk", "frog", "goat", "gorilla", "horse", "lion", "parrot", "pig", "rattlesnake", "vulture", or "wolf".
2021-11-19 08:51:06 +01:00
Audio
-----
2021-11-21 12:47:48 +01:00
* *Computer, mute audio.*
* *Computer, unmute audio.*
* *Computer, turn volume up.*
* *Computer, turn volume down.*
2021-11-19 08:51:06 +01:00
2021-11-18 11:45:32 +01:00
Conversation
------------
2021-11-21 12:47:48 +01:00
* *Computer, good morning.*
* *Computer, good evening.*
* *Computer, good night.*
* *Computer, how are you?*
* *Computer, thank you.*