"Hash with Probatio"
Open a file straight into the Hash module from your system's context menu — or via "Open with". Here's how to enable the entry on macOS and Windows.
Contents
1. How it works
Probatio accepts a file passed at launch and opens it automatically in the Hash module. The mechanism is already built into the app:
- Windows: the path arrives as a command-line argument (
probatio.exe "C:\path\file"). - macOS: the file arrives via the Opened event (Finder / "Open with" / Services).
Registering the context-menu entry is OS-specific and is an install-time step (it depends on the installed binary's path). In production the NSIS installer (Windows) or the signed bundle (macOS) writes it; here's how to do it by hand.
2. macOS — Quick Action (Finder)
Recommended: a Quick Action built with Automator.
- Automator → new document → Quick Action.
- "Workflow receives": files or folders in Finder.
- Add Run Shell Script; "Pass input": as arguments:
for f in "$@"; do open -a "Probatio" "$f" done - Save as "Hash with Probatio": it will appear in the Finder context menu (Quick Actions / Services submenu).
In production you can include an NSServices entry directly in the signed bundle's Info.plist.
3. Windows — Explorer menu entry
.reg file (adjust the path to probatio.exe):
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Software\Classes\*\shell\Probatio]
@="Hash with Probatio"
"Icon"="\"C:\\Program Files\\Probatio\\probatio.exe\",0"
[HKEY_CURRENT_USER\Software\Classes\*\shell\Probatio\command]
@="\"C:\\Program Files\\Probatio\\probatio.exe\" \"%1\""
In production these values should be written by the NSIS installer (install hook) and removed on uninstall.