Reputation: 1
I would like to crate a windows application to receive voice commands to windows SO to open, close, play etc a specifc app. Do you have information to API and examples to do that? Thanks in advance.
I expect to give voice commands to windows applications
if (speech.contains("open notepad")) {
Runtime.getRuntime().exec("notepad.exe");
} else if (speech.contains("close notepad")) {
Runtime.getRuntime().exec("taskkill /im notepad.exe");
Upvotes: -1
Views: 12