Skip to content

[Feature Request] Action that provides the active engine #178

Description

@knausj85

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")

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions