Closed
Labels
enhancementNew feature or requestfeatureNew user-facing capabilitypriority: mediumShould be addressed in the next release or two
Description
Why it matters
Building a sequence today means pressing Add point and picking each spot one at a time, then typing waits by hand. The fastest way to describe a routine is to just do it once. A record mode turns the new sequence engine (#72) into something people can set up in seconds, and it's the feature that most often makes users pick one macro tool over another.
Rationale
- Sequences already store point, button, click type and the wait before the next step, which is exactly what a recording produces.
- Recording needs a low-level mouse hook (
WH_MOUSE_LL): an overlay like the picker's would swallow the clicks, but while recording they must still reach the target. Install the hook only while recording and remove it right after, which keeps the "no system-wide hook during normal use" promise from Replace unmaintained keyboard/mouse hook libraries with RegisterHotKey + Tk picker #57.
Suggested approach
- "Record" button in the sequence panel; a 3-second countdown, then each real click is captured as a step (position, button, double-click detection) with the measured gap as its wait.
- Stop recording with the Stop hotkey or a click on the tray icon; the hook is uninstalled in a
finally. - Options: round waits to the nearest 50 ms, cap long gaps.
- Clear status while recording ("Recording: 4 steps, press F7 to finish").
- README note on what is captured (clicks only, no keystrokes) and that nothing leaves the machine.
Done when
- A user can record a five-click routine and replay it as a sequence; the hook exists only during recording, verified by a test of install/uninstall on every exit path.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestfeatureNew user-facing capabilitypriority: mediumShould be addressed in the next release or two
Activity