Skip to content
This repository has been archived by the owner on Oct 7, 2020. It is now read-only.

Dictation mode doesn't work without Dragon #8

Open
wenkokke opened this issue Feb 10, 2019 · 2 comments
Open

Dictation mode doesn't work without Dragon #8

wenkokke opened this issue Feb 10, 2019 · 2 comments

Comments

@wenkokke
Copy link

Using "dragon mode" without Dragon installed doesn't work; is there any way to get this to easily work with either the built-in text to speech system or the OS X dictation system, since Dragon for Mac is now deprecated?

@wenkokke
Copy link
Author

wenkokke commented Feb 10, 2019

I'm currently setting the shortcut for Dictation to something pretty uncommon, e.g. ⌥§...

screen shot 2019-02-10 at 16 05 32

...and then use the following keymap...

sleepy.keymap({
    'talon sleep' : lambda m: speech.set_enabled(False),
    'talon wake'  : lambda m: speech.set_enabled(True),
    'dragon mode' : [lambda m: speech.set_enabled(False), lambda m: press("alt-§")],
    'talon mode'  : [lambda m: speech.set_enabled(True), lambda m: press("alt-§")],
})

...which works, as long as Talon and Dictation don't get out of sync.

@lunixbochs
Copy link
Contributor

lunixbochs commented Apr 15, 2019

This isn't a bug on examples, it's a bug on talon itself. I haven't investigated why a standalone rule fails to work on the builtin engine yet.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants