Use your voice to control Windows 📢
You say | Windows does |
---|---|
Open Firefox | Opens Firefox |
Search for cupcake recipes | Opens browser and searches for 'Cupcake Recipes' |
Tell me the first 20 digits of Pi | Shows a window with the 20 first digits of Pi |
Paste a poem | Pastes a poem |
⚠ WARNING ⚠ This is an experimental application. ChatGPT can end up doing random stuff. So please use with caution!
Check out my blog post: TBD
- Download and install AutoHotKey V1 from autohotkey.com
- Download
AutoHotKey-ChatGPT.zip
from the Releases for the latest release. - Extract
AutoHotKey-ChatGPT.zip
- Edit
config.json
from the extracted files. Provide your Open API Key for the propertyOpenapiKey
.
{
"OpenapiKey": "",
"AutoHotKeyExec": ".\\bin\\autohotkey-1.1.37.01\\AutoHotkeyU64.exe"
}
- Double click on
watch.ahk
from the extracted files - Press F8
- Speak into your microphone what you would like to do
- Press F8
- Wait for Open AI and AutoHotKey to do their magic
The hotkey to start/stop a voice command is defined in watch.ahk
. You can replace the following with a hotkey of your choice:
F8::
Among the extracted files, there is a prompt.txt
. You can edit this to customise it to yor own needs.
For instance, the current prompt file defaults to using the DuckDuckGo search engine. You can change this easily to any search engine you like, by modifying the following line in prompt.txt
:
Unless otherwise specified, assume:
...
- the default search engine is DuckDuckGo
...
- ChatGPT-AutoHotkey-Utility: Uses AutoHotKey to perform a number of actions, such as translate
- ChatGPT Voice Assistant: Provides a Windows based assistant driven by ChatGPT
- How to Make Your Own Windows Transcription App With Whisper and AutoHotkey: Step by step tutorial to make a transcription app using AutoHotKey (added as per reddit)
task build
task package
go run ./cmd/whisper-autohotkey/.