Completion and Logs
Completion and Logs
Section titled “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.
Overview
Section titled “Overview”When a macro finishes – successfully, by user interrupt (Esc Esc, followed by “Stop”), or by error – ClicKey:
- Stops capturing screenshots and screen recording (if either was on).
- 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 completion dialog
Section titled “The completion dialog”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:
| Field | What it shows |
|---|---|
| Duration | Wall-clock time from start to end of the run. |
| Actions | Total number of actions that ran. Loops multiply this. For a stopped run, actions from the unfinished loop pass are included. |
| Loops | Number of completed loop passes. Hidden for a run without loops. |
| Finished at / Stopped at | The clock time the run ended, shown as the last stat. |
| Interruptions (N) – total | A 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:
| Button | What it does |
|---|---|
| Log → Open in New Window | Opens the log in a new ClicKey window. |
| Log → Reveal in Finder | Opens the Logs folder with the log file selected. |
| Screenshots / Recordings → Reveal in Finder | Opens the output folder for any captures the run produced. Hidden if the run produced no captures. |
| Play Again | Re-runs the same macro with the same Run Settings. |
| OK | Closes the dialog. |
The menu-bar completion notification
Section titled “The menu-bar completion notification”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.
The log file
Section titled “The log file”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:
| What | Details |
|---|---|
| Every action that ran | In order, with the time it ran and the values it actually used – a random Wait shows the duration it picked. |
| Variable values | The value of each variable an action read, at that moment. |
| Warnings | Actions that were skipped, for example a Resize Window when no other app was in front. Shown as a comment row. |
| Playback settings | The 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.
Where everything lives
Section titled “Where everything lives”| Folder | What’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. |
Using logs to debug a run
Section titled “Using logs to debug a run”If something went wrong and you didn’t see it happen, the log helps most:
- In the completion dialog, click Log → Open in New Window.
- The last action in the list is where the run ended. Compare it with your macro to see what came next.
- 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.
- 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?.
Cleaning up
Section titled “Cleaning up”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.
Notes & limitations
Section titled “Notes & limitations”- 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.
Related
Section titled “Related”- Playback Basics – the basic run flow.
- Verification and Failure Handling – the dialogs that can pause a run.
- Why Did My Macro Stop? – using the log to diagnose stopped runs.
- Screenshots and Screen Recording – where captured media lives alongside the log.
- Menu Bar Launcher – runs started here use the corner completion notification.
- File Format – auto-save snapshots and the macro file structure.