# Rolling Record any Mac app's real window as a polished demo video, driven by a script an agent writes or by an agent working live. - **Real frames.** ScreenCaptureKit records just the window at its full Retina resolution and up to 60 fps, straight into a hardware-encoded master (HEVC with the window's transparent corners, or ProRes 4444). Other windows on top don't show; nothing is redrawn or faked. - **Low latency.** No B-frames, frames written with ScreenCaptureKit's own timestamps, and the input log on the same host clock, so clicks line up with the picture to the frame. - **Looks made by hand.** The render adds a background, a soft shadow, a spring-driven zoom camera, a drawn cursor that glides instead of jumping, click rings, and ⌘K-style key pills, and cuts idle pauses. - **Re-renderable.** The master and `session.json` stay; render again with new options at any time. ## Build ```sh swift build -c release cp .build/release/rolling /usr/local/bin/ # optional ``` ### As an app ```sh scripts/make-app.sh # builds Rolling.app into ~/Applications ``` Open it from Finder, Spotlight or the Dock (right-click its Dock icon › Options › Keep in Dock). The first time, a welcome fills the window: what Rolling does, the two permissions it records with, the voice models narration uses (offered, never required), and where recordings are saved. Then the studio opens on that save folder. Rolling › Welcome… shows the welcome again. The app's bundle id is `video.rolling.mac` (it was `com.skyaara.rolling`, so macOS asks for its permissions once more). The app's binary is also the full command line tool: `~/Applications/Rolling.app/Contents/MacOS/rolling run demo.json`. The script signs with your Developer ID Application certificate (or an Apple Development one, or `ROLLING_SIGN_IDENTITY`), with the hardened runtime and a secure timestamp (left out when Apple's timestamp server can't be reached), allowing only Apple Events, so the permissions macOS grants the app survive rebuilds. Without a certificate it warns and signs for this Mac only, and macOS asks again after each build. macOS 14 or later. The app running `rolling` (your terminal or agent host) needs **Screen Recording**, and **Accessibility** to drive input or hear clicks. `rolling check` reports and asks for both. ## Two ways to record ### 1. A script (the agent writes it, Rolling performs it) The agent's thinking happens while writing the script, so the recording has no dead pauses, the mouse moves along eased curves at 120 Hz, and text types at a human pace. The same script records the same way twice. ```sh rolling elements --app Calculator # what's on screen, by label and position rolling run examples/calculator.json # → ~/Documents/Rolling/calculator-