Sentinel
Watch part of the screen and get a notification, a capture or a workflow run when it changes.
Sentinel watches a part of the screen and acts when it changes: a build finishing, a dashboard turning red, a reply arriving.
Turn it on#
- Open Settings ▸ Beta and turn on Sentinel.
- Next to Watch regions, click Edit….
- Click Watch an area… and drag over the area, or Watch a window… and click a window.
You can watch up to 8 regions. They’re checked one at a time.
Set up a watch region#
| Option | Choices |
|---|---|
| Name | Anything you like |
| Check every | 2, 5, 15 or 60 s |
| Sensitivity | Any change, Small, Large |
| Wait for it to settle | Fire at once, or after 1, 2 or 3 unchanged checks. Waiting avoids firing on something still loading. |
| Only when the text contains (optional) | Fire only when the region’s text includes this, for example “failed”. Plain text, any case. |
| Then | Notify, Capture (save the region to the Library) or Run pipeline (a workflow) |
| At most | No limit, or once per 1 min, 5 min or 30 min |
| On battery | Runs on battery or Pauses on battery |
Click Save. The list shows each region’s interval, action and how many times it has fired; Edit changes it.
Running a workflow#
The text that matched reaches a workflow’s scripts only as the GLIMMER_MATCH environment variable, never inside a command line, so screen text can’t inject commands.
Built-in limits#
- If a region flickers back to how it was, it doesn’t fire.
- A region that never settles fires once after 10 checks, marked as still changing.
- Sentinel fires at most 60 times an hour in total, at least 2 seconds apart.
- While a Sentinel workflow runs, regions don’t compare, so a workflow can’t set itself off. A region whose action keeps re-triggering it stops, with a notice.
- A hidden or minimised window doesn’t fire; you get a notice instead.
Sentinel pauses while the screen is locked, a password field is active or the Mac is in Low Power Mode. Glimmer’s own windows never count. Panic clears what Sentinel remembers about each region.
Next#
Something missing or unclear? Write to [email protected].