Take Screenshot
Take Screenshot
Section titled “Take Screenshot”The Take Screenshot action saves one or more screenshots to disk when the macro reaches it. Use it to capture evidence at a specific moment – different from the automatic click screenshots in Run Settings, which run on a schedule.
Overview
Section titled “Overview”In the + Add Action menu, under Utilities, Take Screenshot captures the configured target and writes JPEG files into the run’s capture folder.
Take Screenshot needs Screen Recording permission. Without it the action produces no file – the macro keeps running.
How to use
Section titled “How to use”- Click + Add Action → Take Screenshot.
- In Capture Target, pick a Mode (see the table below).
- (Optional) Set a File Name Suffix – useful for telling captures apart when reviewing. It has a Text / Expression switch: in Text mode you write plain text and
{name}is replaced with a variable’s value (e.g.before-{step}); in Expression mode the whole field is a JavaScript expression (e.g."before-" + {step}). See Text mode vs Expression mode. - (Optional) Toggle High Resolution for native pixel output.
- Save.
Options & settings
Section titled “Options & settings”| Option | What it does | Default |
|---|---|---|
| Mode | Last Click Monitor, Current Monitor, Specific Monitor, Fixed Area, All Monitors, or Window – see below. | Current Monitor |
| File Name Suffix | Appended to the auto-generated filename. Has a Text / Expression switch: Text inserts {name} variables into literal text, Expression evaluates JavaScript. Variable autocomplete works in both. Leave empty for no suffix. | Empty (Text mode) |
| High Resolution | Captures at the display’s native pixel density (Retina). Produces larger files. Off captures at logical (point) resolution. The last-used value becomes the default for newly added actions. | Off |
Capture modes
Section titled “Capture modes”| Mode | What it captures |
|---|---|
| Last Click Monitor | The full monitor containing the last mouse click the playback executed. If no click has happened yet in the run, the fallback below kicks in. |
| Current Monitor | The full monitor the mouse cursor is on at the moment of capture. |
| Specific Monitor | A monitor picked from the Display list (system display names, main display first). |
| Fixed Area | A screen rectangle. X, Y, Width, and Height accept number expressions and variables with the same autocomplete as other area fields, or use Draw on screen… to drag the region. While dragging, hold Space to move the whole rectangle. Expressions are evaluated at playback; invalid expressions stop playback before the capture. The area is cropped from the display containing its center – a rectangle spanning two monitors is clipped to that one display. |
| All Monitors | Every active monitor – one file per monitor, not one combined image. |
| Window | A specific window from the live window list (same curated list as the other window pickers). Click the refresh button to re-scan open windows, or Go to Window to bring the selected window to the front and check it’s the right one. At playback the window is re-located by its window number first, then by title plus app – and its own content is captured even when other windows are stacked on top of it. |
Fallback: whenever the chosen target can’t be captured – the window is gone, the monitor index no longer exists, no click has happened yet for Last Click Monitor – ClicKey captures all monitors instead and marks the filenames with fallback, so the run still produces evidence and you can see that the intended target was missing.
Where the files go
Section titled “Where the files go”Screenshots land in the current playback session folder inside Documents/ClicKey/Captures (one folder per run, named with the run’s timestamp and macro name), alongside the automatic screenshots and screen recordings from Run Settings. The Completion Dialog links to it.
Filenames follow the pattern <timestamp>_manual-screenshot[_<suffix>]_<target>.jpg – for example 2026-07-12-18-30-05_manual-screenshot_before-submit_monitor-1.jpg. The target part is monitor-N, fixed-area, or the window’s app name and title; fallback captures append fallback. Suffixes are sanitized for filenames (letters, digits, - and _ are kept; everything else becomes -), and name collisions get -2, -3, … so files are never overwritten.
Notes & limitations
Section titled “Notes & limitations”- Screen Recording permission is required. Without it no file is written; the macro keeps running.
- The suffix is a suffix, not a replacement – the filename always starts with a timestamp, so repeated captures with the same suffix never overwrite each other.
- The suffix is a template. Every
{...}block is evaluated at playback time, e.g.step-{counter}. An invalid template stops playback with an error before the capture runs. - Files are JPEG (compressed for practical file sizes), not PNG. There is no per-action quality setting.
- High Resolution grows files by the display’s scale factor. Useful for review-quality captures; leave off for lean capture folders.
- Take Screenshot is independent of the Run Settings screenshot toggle. Automatic click screenshots and explicit Take Screenshot actions can both run; everything lands in the same session folder.
- The capture is synchronous – the macro waits until the files are written before moving on.
Related
Section titled “Related”- Screenshots and Screen Recording – automatic captures driven by Run Settings.
- Run Settings: Speed, Loops, and Vollgas – where automatic screenshots are configured.
- Screen Recording – capture video instead of stills at specific moments.
- Variables and Expressions – the template syntax the suffix and the Fixed Area fields use.
- Permissions on macOS – Screen Recording must be granted.