Skip to content

Windows tray

The Windows install includes a system-tray companion, keyount-tray.exe, registered as its own logon task (Keyount Tray) and started alongside the counter. It shows today’s words in the tray tooltip, with Pause/Resume in the menu. No Python is needed — it ships inside the standalone binary download.

The counter itself needs no window: check stats any time with

Terminal window
& "$env:LOCALAPPDATA\keyount\wordcount.exe" today

Tip: add %LOCALAPPDATA%\keyount to your PATH if you want the short wordcount name.

If the binary download failed during install, the installer fell back to the Python files. In that mode the tray is windows/tray.py and needs two pip packages:

Terminal window
pip install pystray Pillow
pythonw "$env:LOCALAPPDATA\keyount\tray.py"

Re-running the installer after installing them registers the tray task automatically.

See Troubleshooting if your antivirus flags the counter — low-level keyboard hooks are also used by keyloggers, and unsigned PyInstaller executables are a common false-positive trigger; this one only counts and is short enough to audit.