Skip to content

Completion and Logs

Every playback run ends with the same two artifacts: a completion dialog with stats and shortcuts to the run’s output, and a log file with every action that ran.

When a macro finishes – successfully, by user interrupt (Esc Esc, followed by “Stop”), or by error – ClicKey:

  1. Stops capturing screenshots and screen recording (if either was on).
  2. Shows the completion dialog in the main window if the run started from the main window, or a small notification in the menu bar if the run started from the menu bar.

The log is written while the run goes, so it is there even when a run stops early or ClicKey quits unexpectedly.

The dialog appears for finished and stopped runs. A run that completed on its own is titled Playback Complete (green checkmark); a run you stopped early – the toolbar Stop button, Esc Esc followed by Stop, or Stop Macro in any pause dialog – is titled Playback Stopped (orange stop icon) and shows the same stats, list, and buttons.

The dialog summarizes the run:

FieldWhat it shows
DurationWall-clock time from start to end of the run.
ActionsTotal number of actions that ran. Loops multiply this. For a stopped run, actions from the unfinished loop pass are included.
LoopsNumber of completed loop passes. Hidden for a run without loops.
Finished at / Stopped atThe clock time the run ended, shown as the last stat.
Interruptions (N) – totalA list of every time the run paused – verification dialogs, ask-user prompts, find-action error dialogs, timer violations, window checks, and Esc Esc pauses. The headline shows the total count and the total paused time – subtract it from Duration to get the time the macro actually ran. Each entry shows the interruption’s name, the clock time it appeared, and how long the run stayed paused. The section is hidden when the run had no interruptions.

And these buttons:

ButtonWhat it does
Log → Open in New WindowOpens the log in a new ClicKey window.
Log → Reveal in FinderOpens the Logs folder with the log file selected.
Screenshots / Recordings → Reveal in FinderOpens the output folder for any captures the run produced. Hidden if the run produced no captures.
Play AgainRe-runs the same macro with the same Run Settings.
OKCloses the dialog.

Runs started from the menu bar don’t open the main window’s completion dialog. Instead, a small notification window slides in from the top-right corner of the screen, shows the macro name and a checkmark, and auto-dismisses after about 4 seconds.

You can click the notification to dismiss it sooner. The full log file is still written to disk just like main-window runs.

A menu-bar run that is stopped early doesn’t show the notification – ClicKey brings the main window to the front instead so you can review the stopped state.

Each run writes a log to ~/Documents/ClicKey/Logs/, named with the date and time. It is the plain list of what actually ran – no groups, no conditions, no loop passes:

WhatDetails
Every action that ranIn order, with the time it ran and the values it actually used – a random Wait shows the duration it picked.
Variable valuesThe value of each variable an action read, at that moment.
WarningsActions that were skipped, for example a Resize Window when no other app was in front. Shown as a comment row.
Playback settingsThe speed and Vollgas setting the run started with.

Open it with Log → Open in New Window: it opens in ClicKey as a list of actions. Duration, loops and interruptions are only shown in the completion dialog.

FolderWhat’s there
~/Documents/ClicKey/Logs/One log per run, plus the recovery snapshots of unsaved macros (see File Format).
Run output folder (revealed from the completion dialog)Screenshots and screen recording segments produced by the run. The exact location depends on configuration.

If something went wrong and you didn’t see it happen, the log helps most:

  1. In the completion dialog, click Log → Open in New Window.
  2. The last action in the list is where the run ended. Compare it with your macro to see what came next.
  3. Check the variable values next to the actions before that point – a wrong value is the most common reason a condition took the wrong branch.
  4. If the run captured screenshots or screen recording, look at the captures from that time too.

For “macro stopped mid-run and I don’t know why”, see Why Did My Macro Stop?.

Logs are not deleted automatically. You can delete old log-… files whenever you like – but leave the tmp-… files: they are recovery snapshots of macros you haven’t saved yet.

Screenshots and screen recordings can be much larger. Review and delete the output folders periodically, especially after long Vollgas runs or full-resolution screen recording sessions.

  • The log file is always written, even for runs that stopped early.
  • The completion dialog appears only for runs that started from the main window. Menu-bar runs use the corner notification instead.