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

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

plover_application_dictionary-2.0.3-py3-none-any.whl (17.1 kB view details)

Uploaded Python 3

File details

Details for the file plover-application-dictionary-2.0.3.tar.gz.

File metadata

File hashes

Hashes for plover-application-dictionary-2.0.3.tar.gz
Algorithm Hash digest
SHA256 7585c58328251f11a6c11f46b3226dd99b793c629d369699a3e1ec09dffd2bf2
MD5 d1fb7b1b09eca6cb282ca8c352fdeea6
BLAKE2b-256 a587a67df739a935872fb8b5a7e819cc4fc9d3d8de83446b67700ad523448156

See more details on using hashes here.

File details

Details for the file plover_application_dictionary-2.0.3-py3-none-any.whl.

File metadata

File hashes

Hashes for plover_application_dictionary-2.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 fa16ace202e6a23d714e7d6172c4b0c84ace1aa29400203fa12308b14f795b6b
MD5 b3bf0e2c05aebcb20bf98e4f806953ed
BLAKE2b-256 36afc2e5b595e8460e4e66bb5a43be9680791fa899300c12b8649b9f6fb201fc

See more details on using hashes here.

Supported by

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