Plover plugin to make translation state function per application window and tab
Project description
Plover Per-Application State
Plover plugin to make translation state function per application window and tab.
DISCLAIMER: This plugin is still WIP and will cause Plover to function incorrectly under some circumstances.
Installation
-
Navigate to the installation directory for Plover and open a terminal / command prompt.
-
Run:
<exe_name> -s plover_plugins install -e plover-per-application-state
The plover-application-controls plugin should be installed automatically as a dependency.
-
Restart Plover.
-
Configure > Plugins > Enable both
application_controls
andper_application_state
.
To disable the plugin at any point, disable per_application_state
.
Disabling application_controls
will prevent the plugin from being able to detect the currently active window.
Important Dictionary Setup:
Any dictionary entries which result in a window being switched will need to be modified to include
{PLOVER:per_application_state:prevent_merge}
at the start of the translation. This is to ensure that the plugin
correctly reloads state when the window is switched.
For example {#Control(tab)}
will need to be modified to {PLOVER:per_application_state:prevent_merge}{#Control(tab)}
.
This is NOT required for any {PLOVER:application:}
commands from
plover-application-controls.
Commands:
The {PLOVER:per_application_state}
command can be used to control state management. It takes a subcommand as its first
argument, with further arguments separated by :
.
For example, {PLOVER:per_application_state:clear_all}
will clear all state.
Window Command | Description | Arguments |
---|---|---|
clear | Clear the translation state for the current window tab | |
clear_all | Clears the current and stored translation states for all windows | |
clear_window | Clears the current and stored translation states for the current active window | |
prevent_merge | Temporarily prevents state from being merged when a title changes as a result of a stroke |
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for plover-per-application-state-1.3.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2bb0f6bd3d8bec28e5e0cf2e8168f6ee50e65ea366c7bc706a4903992f84a9f9 |
|
MD5 | ecaeb43e39cd1549121d0cf668333a47 |
|
BLAKE2b-256 | 12f232c46a87de27b0744548e62b88d5ecd830b74710ccc1708d4de30097806e |
Hashes for plover_per_application_state-1.3.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d459e7edb3b3117aca9941936a220824fdff06df9a98e3b78abb60c2b3322735 |
|
MD5 | 214f4deed68632163d83abe5bb562279 |
|
BLAKE2b-256 | 900e5db3db9ecff60f77504ea8863c95037ba04d33744a8f1e854c99432fbd57 |