tutorial
Shotomatic Team
7 min read

How to Take Repeated Screenshots with Automator on Mac

Build an Automator screenshot workflow with Take Screenshot and Loop, then use a shell action when you need ordered files.

Automator app icon beside the Take Screenshot and Loop actions

In this guide, you will build a repeated screenshot workflow in Automator. You will add Take Screenshot and Loop, test the result, use Run Shell Script when you need ordered files, and save the workflow as an app.

Disclosure: We make Shotomatic. This guide starts with Automator's own screenshot actions and explains their limits before comparing another app.

Check Automator's screen capture access

Automator needs screen capture access for this workflow. Open System Settings > Privacy & Security > Screen & System Audio Recording and enable Automator if it is already listed. If the first test triggers a permission request, approve it and reopen Automator when macOS asks.

Accessibility access is not needed for Take Screenshot or screencapture alone. It becomes relevant only if the workflow sends keys or controls another app.

Choose native actions or a shell action

Choose the route before adding actions. Native actions keep the setup visual; the shell route gives each pass its own file and supports fixed coordinates.

NeedBetter Automator route
Learn the workflow visuallyTake Screenshot + Loop
Choose a timed full-screen or interactive captureTake Screenshot
Save every pass as a separate fileRun Shell Script + Loop
Capture a fixed rectangleRun Shell Script with -R
Use sequential numbers or an exact frame countCommand-line shell loop
Stop after a broad time limitLoop action

Option 1: use Take Screenshot and Loop

Create a workflow

  1. Open Automator.
  2. Choose Workflow while testing.
Automator document picker with Workflow selected
Choose Workflow for the first test. It runs inside Automator, so you can change the actions before saving anything as an app.

Find the Take Screenshot action

  1. Search for Take Screenshot in the Actions library.
  2. Double-click the result or drag it into the workflow area.
Automator Actions library filtered to the Take Screenshot action
Searching the Actions library leaves a single Take Screenshot result to add to the workflow.

Configure the screenshot and Loop actions

  1. Choose the screenshot type and whether to use a timed delay.
  2. Choose where the result should go.
  3. Add Loop after Take Screenshot.
  4. Select Loop automatically and set a short stop duration for the first test.
  5. Click Run.
Automator Take Screenshot action followed by a Loop action set to stop after one minute
This test captures the main monitor after a five-second delay, then repeats the workflow for one minute.

Apple's Loop action repeats the actions that come before it. A one-minute limit is safer than an open-ended first run.

The native workflow is useful for learning the flow and for simple visual automations. Pay close attention to the destination. If Take Screenshot saves to the clipboard, every loop replaces the previous clipboard image. You will have only the latest capture at the end.

To keep a full sequence, choose a destination or downstream action that writes each result to disk, then inspect the first three files from the one-minute test. Use the shell route below when each pass needs its own sortable file. For exact names such as frame-001.png, use a command-line shell loop.

Option 2: combine Run Shell Script with Automator's Loop

Apple documents Automator's Run Shell Script action. A short one-capture script pairs well with Automator's own Loop action:

  1. Create another Workflow.
  2. Search for Run Shell Script and add it.
  3. Set Shell to /bin/zsh.
  4. Paste the script.
  5. Add Loop after Run Shell Script.
  6. Select Loop automatically and stop after one minute for the test.
  7. Click Run and inspect the output folder.
Automator Run Shell Script action set to use zsh for a screenshot command
Set Shell to /bin/zsh, then paste the complete script shown below.
RUN_DIR="$HOME/Desktop/automator-captures"
mkdir -p "$RUN_DIR"

STAMP=$(date +%Y%m%d-%H%M%S)
screencapture -x -m "$RUN_DIR/capture-$STAMP.png"
sleep 5

Each pass saves one main-monitor screenshot with a timestamp, waits five seconds, and lets Loop run the workflow again. The timestamps keep the files in chronological order, but they are not sequential frame numbers.

Automator's Loop gives you an approximate time limit. Use the command-line route when you need an exact frame count or names such as frame-001.png.

For more screencapture flags, formats, page turns, and long-run controls, see the Mac command-line screenshot guide.

Save a reusable Automator app

Automator document types are chosen when you create a document. After the Workflow behaves correctly, create an Application document, copy the tested actions into it, and save it with a specific name such as Dashboard Screenshot Run.

A double-clickable app is convenient, but it can also start a capture immediately. Keep the first delay long enough to arrange the target window, and make the output folder obvious in the workflow.

Troubleshoot the workflow

ProblemFix
Only the latest screenshot remainsDo not loop a clipboard-only destination; preserve each result or use timestamped shell output
Blank screenshotAllow Automator under Screen & System Audio Recording, reopen, and retry
Workflow repeats longer than expectedSet a short Loop stop duration while testing
Shell output overwrites old imagesKeep the timestamp in every file name; use a single shell loop if you need sequential numbers
Wrong area is capturedReposition the window, update -R, and run three frames
Workflow appears frozenA timed or interactive screenshot may be waiting for input; check the screen and Automator log

When Automator isn't enough

Automator works well for a small number of stable workflows. A dedicated capture app may be easier to manage when each run needs a different window, keypress controls, a new frame count or duration, a review step, or another export format.

If you would rather adjust those controls in one interface, Shotomatic keeps the capture setup, frame review, and export together. See how Shotomatic handles screenshot automation on Mac. If your main goal is an ordered document, see save screenshots as a PDF on Mac.

FAQ

Can Automator take repeated screenshots on Mac?

Yes. Add Take Screenshot followed by Loop. This is useful for a visual workflow, while a shell action can save each pass as a separate, timestamped file.

Why does an Automator screenshot workflow keep only one clipboard image?

Each loop replaces the previous clipboard contents. Save each capture to a unique file or use a Run Shell Script action for a timestamped sequence.

Should I use Automator's Loop action or a shell loop?

Use Loop to keep the workflow visual. Use a shell loop when file names, frame counts, capture coordinates, and timing need to stay together.

Can I save the workflow as an app?

Yes. Create an Application document from the start, or recreate the tested workflow as an Application for double-click launching.

Related posts

See more posts

Ready to automate your screenshots?

Archive books, capture content, and save hours of manual work.