Blog

How Guide Recording Captures the Screen Before Each Click

Written by InSnap · Published · guides, screen recording, step recorder, how it works, accessibility

How Guide Recording Captures the Screen Before Each Click

Why each step in a recorded guide shows the menu still open: InSnap keeps a few recent frames, picks the one just before your click, and filters drags and double-clicks.

When you record a how-to guide, every click becomes a step with its own screenshot. The screenshot usually shows the screen as it was when you clicked, with the menu still open and the button still unpressed. That is harder than it sounds, because by the time a program has captured a frame, the screen may have moved on. This article explains how InSnap's guide recorder handles that, and which clicks it deliberately ignores.

The problem: screen capture arrives late

Capturing the screen is not instant. A frame reaches the recorder some tens of milliseconds after it was shown, in practice about 100 to 200 ms. If the recorder grabbed a picture only after your click, a pop-up menu would already have closed, a tooltip would be gone and a button would show its pressed state. The step would show the result of the click instead of the thing you clicked.

A short ring of recent frames

While a guide recording is running, InSnap watches the screen continuously, but only a few frames per second and only when something changes. It keeps the three most recent frames for each display and throws older ones away. Each frame is stamped with the time it was shown and with the list of windows that were on screen at that moment, from top to bottom.

The InSnap floating bar is left out of these frames, and on a Mac the mouse cursor is not drawn into them either, so the step picture is clean and the click marker is added afterwards.

Picking the frame for a click

A click has two halves: the button goes down, then up. The recorder notes the time of the button press. When the click completes, it picks the newest frame on the clicked display whose time stamp is at or before the press. That is the picture you were looking at when you decided to click.

Two edge cases:

  • Right after you start there may be no earlier frame yet. The recorder then uses the newest one it has.
  • Several displays keep their own frames, and the click picks from the display that contains the pointer.
Recording a guide by clicking through the task

Where the title comes from

At the moment of the button press, before a menu has time to close, the recorder also asks the system what is under the pointer: a button, a menu item, a field. It uses the accessibility interface on macOS and UI Automation on Windows, and the answer becomes a default title such as the button's name. On a Mac this needs the Accessibility permission. Without a readable name, the title falls back to a generic one such as "Click in Safari", which you can edit in the guide editor.

Editable titles in a recorded guide

Which clicks are not steps

Some clicks should never become steps, so they are filtered out before a frame is chosen. The current thresholds are:

SituationWhat happens
Mouse moves more than about 6 points between press and releaseTreated as a drag, not a step
Second click within about 400 ms and 8 points of the first, same buttonMerged into the previous step, which becomes "Double-click in …"
Two presses of the same button less than about 80 ms apartDiscarded as a bounce or an auto-clicker
Click on InSnap's own floating barIgnored
First 300 ms after you press Stop or PauseIgnored, so the last click does not leave a stray step
Recording is pausedIgnored
Scope is a single app and the click lands outside its windowsIgnored

These numbers are design choices, not operating system rules. If you need an action that does not become a step, such as dragging a file, add a text step or insert a screenshot manually.

What the step picture shows

With the scope set to the entire screen, the picture is that display. With an app scope, it is cropped to the clicked window of that app, widened around the click so pop-up menus that hang outside the window are included. By default each step starts with a red ring on the click point. The ring is an ordinary annotation, so you can move or delete it, and all later edits happen in the guide editor on your computer.

What needs Pro

Guide recording and the guide editor are Pro features. Pro is a one-time purchase of $9 for up to three devices. The first Pro feature you open offers a 7-day trial that needs no account.

FAQ

Why does my step show the menu still open?

That is intended. The picture is the newest frame from just before the button press, not a picture taken after the click.

Why is a double-click only one step?

The second click is merged into the first within a short window, so you get one step titled as a double-click. If the two clicks do different things, add the second one as a manual step.

Why is a step missing after I dragged something?

A drag is filtered out by design. Add a text step or insert a screenshot to document it. See Guide recording missed a step for the full list of reasons.

Does the recorder upload my screen?

No. Frames, element names and the guide are processed on your computer. Nothing is sent unless you choose to share a guide.

Your next screenshot is one hotkey away.

macOS 14.4+ (Apple Silicon & Intel) · Windows 10+ (64-bit)