A system tray tool for measuring Z-scores directly on screen.

- Click the tray icon and select Measure Z-Score, or press Ctrl+Alt+S anywhere.
- A screenshot appears with a dark overlay β click four points in order:
- Mean β the zero / mean line (blue)
- +1 SD β one standard deviation above (green)
- -1 SD β one standard deviation below (red)
- Point β the value you want to measure (yellow)
- A step-by-step panel on the left guides you through each click.
- The Z-score is shown in a popup with a visual gauge, copy button, and option to measure again.
Press ESC at any time to cancel.
You can also trigger a measurement from anywhere on your desktop with the global hotkey Ctrl+Alt+S.
For a faster workflow, use Draw Mode (Ctrl+Alt+D or tray menu β Draw Z-Score):
- A screenshot appears with a dark overlay.
- Draw a freehand line along the curve or data you want to measure.
- The toolbox automatically calculates the Mean and SD from the drawn line and displays the Z-score β no need to click individual reference lines.
This is ideal when you can trace a visible trend and want a quick Z-score without manually identifying Mean/Β±1 SD lines.
π ZScoreToolbox.exe No installation required β just run it on Windows 10/11.
1. Install Python 3.12 (Windows, via winget):
winget install Python.Python.3.122. Install dependencies:
pip install -r requirements.txt3. Run:
py run.py1. Install PyInstaller:
pip install pyinstaller2. Generate the application icon:
py build_tools/generate_icon.pyThis creates assets\icon.ico with all required sizes (16β256 px).
The build script runs this automatically, but you can also run it
manually to preview the icon beforehand.
3. Build the EXE:
build_tools\build.batThe build script generates the icon first, then runs PyInstaller with
--icon=assets/icon.ico. The finished ZScoreToolbox.exe will be in
the dist\ folder.
ZScoreToolbox/
βββ src/zscore_toolbox/
β βββ main.py # entry point, tray icon, measurement workflow
β βββ capture.py # screenshot capture via mss
β βββ ui.py # click overlay, step panel, result/error popups
β βββ calculator.py # Z-score calculation
βββ assets/ # icon.ico (for PyInstaller builds)
βββ build_tools/
β βββ build.bat # PyInstaller build script
β βββ generate_icon.py # generates assets/icon.ico via Pillow
βββ run.py # development entry point
βββ requirements.txt