A tiny Windows tray app that grabs the timestamp from the currently-hovered point on a Kusto.Explorer chart and copies it to the clipboard — so you can paste it straight into your next KQL query.
- You hover a point on a chart in Kusto.Explorer; the chart shows a tooltip
like
p999=5,132 at (2026-04-20 17:53:00). - You press Ctrl + Alt + T.
- The timestamp (
2026-04-20 17:53:00) is copied to the clipboard and a small tray balloon confirms the value.
- A global hotkey (
Ctrl+Alt+T) is registered viaRegisterHotKey. - On press, the app uses UI Automation (via FlaUI)
to enumerate Kusto.Explorer's UI tree and locate the Custom control whose
Namematches the tooltip pattern<series>=<value> at (YYYY-MM-DD HH:MM:SS). - Stale UIA elements that retain the previous tooltip text are filtered out by
requiring
IsOffscreen = falseand a non-zero bounding rectangle. - The timestamp substring is extracted via regex and written to the Windows clipboard.
Scanning Kusto's UIA tree typically takes ~2 seconds; a brief pause after the hotkey is expected.
| Action | Shortcut |
|---|---|
| Grab chart timestamp | Ctrl+Alt+T |
You can also trigger it from the tray icon's context menu (Grab timestamp now).
A rolling log is written to:
%LocalAppData%\KustoTimeGrab\KustoTimeGrab.log
It's capped at ~256 KB and rotates to KustoTimeGrab.log.old. Open the folder
directly from the tray menu → Open log folder.
Requires the .NET 10 SDK.
cd Q:\src\KustoTimeGrab
dotnet publish -c Release -r win-x64The output is a self-contained tray app:
.\bin\Release\net10.0-windows\win-x64\publish\KustoTimeGrab.exe
Copy the whole net10.0-windows folder wherever you want to keep it
(e.g. %LocalAppData%\Programs\KustoTimeGrab\) — it needs its companion DLLs.
Only one instance runs at a time; launching a second copy exits quietly.
- Press Win + R, type
shell:startup, press Enter. - Right-click in the opened Startup folder → New → Shortcut.
- Point the shortcut at
KustoTimeGrab.exe. - Done — it will launch on every login and sit in the system tray.
To disable, delete the shortcut from that folder (or use Settings → Apps → Startup).
- Kusto.Explorer must be running — the app looks for a process named
Kusto.Explorer. - Make sure the tooltip is actually visible on the chart when you press the hotkey. If no live tooltip is found, you'll see a "No tooltip found" balloon.
- If the chart tooltip label format changes in a future Kusto.Explorer release,
the regex in
TooltipFinder.cs(TooltipPattern) may need to be updated.