MiniTask is a Windows-only macro tool that records mouse and keyboard input and replays it with precise timing. It includes a graph-based editor, a macro library, hotkeys, and an optional always-on-top overlay.
The images below show the two primary areas: the Run tab (record/playback + library) and the Edit tab (graph-based macro editing).