Skip to content

Scribe v1.6.1 - Reliable Hotkeys, Flexible Auto-stop

Latest

Choose a tag to compare

@AIgrator AIgrator released this 20 Nov 16:47

What's new

  • Hotkeys no longer stop working. Three independent fixes for the behaviour reported in #2:
    • Actions now run on a worker thread, so the low-level keyboard hook returns immediately. Windows silently drops a WH_KEYBOARD_LL hook whose callback takes longer than LowLevelHooksTimeout (about 300 ms) — exactly what a slow start/stop of recognition could cause. The hook now only recognises the combination and queues the action.
    • Modifiers are read from the real key state (GetAsyncKeyState) at the moment of the press, and a modifier release clears the combination state. A missed release (a UAC prompt, a lock screen, a brief hook removal) can no longer leave Ctrl or Alt stuck forever, which made every later combination look wrong until the listener was recreated.
    • A watchdog checks every 15 seconds that the listener thread is still alive and restarts it if it died, logging a warning instead of failing silently.
  • Hotkeys are independent of the keyboard layout. A combination is stored as the physical key (virtual-key code) plus its modifiers, not as the character produced by the active layout. Ctrl+Alt+0 keeps working after switching between English, Russian, French and other layouts and after a reboot. Hotkeys saved by older versions under a Cyrillic layout (for example Alt+ю) are automatically mapped to the same physical key.
  • Scribe's own typing cannot trigger a hotkey. Injected key events are ignored by the hook.
  • Quick stop/start no longer breaks typing. The text inserter is started and stopped correctly on every recognition cycle in both the keyboard and clipboard inserters. Previously a fast stop/start (or a microphone error) could leave it in a stopped state, so speech was recognised but nothing was typed — the wait_until_idle: timeout case from the log.
  • A microphone failure is handled cleanly. If the device cannot be opened, the recognizer and controller are reset instead of staying half-started.
  • Flexible auto-stop. The inactivity timeout can now be set to any value with minutes (0–60) and seconds (0–59) fields; 0 min 0 sec means Never. A Quick drop-down still applies ready-made intervals, and a manually typed value is shown as Custom with its total next to the fields. The drop-down also keeps the General settings page compact.
  • Version 1.6.1.

Upgrading from 1.6.0

Run ScribeSetup.exe over the existing installation. Settings and downloaded models are kept.

Installing

  1. Close Scribe completely (tray icon → Exit).
  2. Run ScribeSetup.exe and follow the wizard.
  3. Start Scribe from the Start Menu.

Scribe.exe is also attached for standalone use. It keeps its data in %LOCALAPPDATA%\Scribe.

Portable build

Scribe-portable.zip contains Scribe.exe with portable.flag already in place, plus a short README. Unpack the archive into any folder (a USB drive, a portable disk or a local folder) and run Scribe.exe: settings, downloaded models, records and the log stay in that folder. To switch the copy back to the shared %LOCALAPPDATA%\Scribe folder, delete portable.flag.

Checksums

SHA256 of ScribeSetup.exe:

B3C141866D96F28E2E21715ED2543085A6497A941DC1B23A634C23670959579C

SHA256 of Scribe.exe:

10F08416F2DF350A0BE0691FDA34572BB977A7E5A9E76F96001B2E63028B8746

SHA256 of Scribe-portable.zip:

101302A3BB9D6A0BDA880EF6A66CB7BC8CBF6054049E4A59CDB84BC07C3FA843

Thanks to @dima333750 for the detailed hotkey logs and the auto-stop suggestion in #2.

Download Scribe