Skip to main content

Plover dictionary entries based on the currently focussed application

Project description

Plover Application Dictionary

Plover dictionary entries based on the current focussed application.

This plugin has two dictionary types .ad and .mad, for defining single or multiple application dictionaries respectively. The first is not readonly, allowing for entries to be added through Plover, but .mad dictionaries are readonly. Both have to be edited to change which applications the entries within the dictionary

Installation

  • Navigate to the installation directory for Plover and open a terminal / command prompt.

  • Run: <exe_name> -s plover_plugins install -e plover-application-dictionary

    The plover-application-controls plugin should be installed automatically as a dependency.

  • Restart Plover.

  • Configure > Plugins > Enable application_controls.

Disabling application_controls will prevent the plugin from being able to detect the currently active window.

Dictionaries:

Dictionaries can match applications using three properties, app, class and title. title should be consistent between platforms, whereas class and app will depend across platforms and specific user installations. To find an application's app or class, see plover-application-controls meta actions. class is only available on some Linux systems.

Matching supports full Regex. An empty string will match anything.

The following is an example dictionary which only activates when Discord or Firefox is active. Implementation from system to system may vary.

Example.ad:

{
  "app": "",
  "class": "discord|Navigator",
  "title": "",
  "entries": {
    ...
  }
}

The following is an example dictionary which defines separate entries depending on the user being messaged on Discord.

Example.mad:

[
  {
    "app": "",
    "class": "discord",
    "title": "@User1 - Discord",
    "entries": {
      ...
    }
  },
  {
    "app": "",
    "class": "discord",
    "title": "@User2 - Discord",
    "entries": {
      ...
    }
  }
]

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

plover-application-dictionary-2.0.3.tar.gz (15.7 kB view hashes)

Uploaded Source

Built Distribution

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page