Skip to content

Take Screenshot

ClicKey Pro

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.

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.

  1. Click + Add Action → Take Screenshot.
  2. In Capture Target, pick a Mode (see the table below).
  3. (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.
  4. (Optional) Toggle High Resolution for native pixel output.
  5. Save.
OptionWhat it doesDefault
ModeLast Click Monitor, Current Monitor, Specific Monitor, Fixed Area, All Monitors, or Window – see below.Current Monitor
File Name SuffixAppended 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 ResolutionCaptures 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
ModeWhat it captures
Last Click MonitorThe 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 MonitorThe full monitor the mouse cursor is on at the moment of capture.
Specific MonitorA monitor picked from the Display list (system display names, main display first).
Fixed AreaA 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 MonitorsEvery active monitor – one file per monitor, not one combined image.
WindowA 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.

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.

  • 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.