Skip to content

edge

This directory provides Talon configuration and scripting to support Microsoft Edge across multiple operating systems (Windows, macOS, and Linux). It integrates Edge with generic browser and tab-management voice commands.

How It Works

The configuration is divided into a Python file for defining application matching and behavior overrides, and a Talon file for mapping those contexts to voice command tags.

Core Files

  • edge.py: This script defines the microsoft_edge application identifier for Talon. It lists the rules to recognize Microsoft Edge across different operating systems:

    • Windows: Matches msedge.exe or Microsoft Edge.
    • macOS: Matches the bundle identifier com.microsoft.edgemac.
    • Linux: Matches the executable msedge.

    Additionally, it overrides the standard browser.show_extensions action so that when you are using Microsoft Edge, saying the command to show extensions opens a new tab and navigates directly to edge://extensions.

  • edge.talon: This file activates whenever the active application matches the microsoft_edge definition. It enables two key tags:

    • browser: Pulls in standard voice commands for browser navigation (e.g., going back, forward, reloading, and searching).
    • user.tabs: Pulls in generic commands for tab management (e.g., opening, closing, and switching tabs).

By combining these files, Talon ensures that all your standard browser voice commands work seamlessly in Microsoft Edge, while handling Edge-specific implementation details (like its unique extensions URL) under the hood.