There's a few places where an action or another mechanism to get the active engine (wav2letter, dragon, etc) would be potentially useful to better support multiple engines in user scripts.
e.g.,talonhub/community#300
The "welcome back" command is intended to do a few things, including moving into the "Talon mode" equivalent. The "correct" behavior varies with the engine.
def talon_mode():
"""For windows and Mac, enables Talon commands and enables command mode or equivalent."""
actions.speech.enable()
if app.platform == "mac":
actions.user.engine_sleep()
elif app.platform == "windows":
actions.user.engine_wake()
# note: this may not do anything for all versions of Dragon. Requires Pro.
actions.user.engine_mimic("switch to command mode")
There's a few places where an action or another mechanism to get the active engine (wav2letter, dragon, etc) would be potentially useful to better support multiple engines in user scripts.
e.g.,talonhub/community#300
The "welcome back" command is intended to do a few things, including moving into the "Talon mode" equivalent. The "correct" behavior varies with the engine.