Screen Watch
Starts the macro when a picture or text shows up on the screen (or goes away), a point turns a color, or an area changes. It looks only while the macro is on, as often as Check every says, and starts it once each time, again only after it went back. Games in exclusive full screen and protected video may look black: use borderless windowed.
In the editor, press Space on the canvas to add a step, then open Triggers > Screen, or type its name. In Simple mode it's under Show all, and search finds it.
Settings
Watch for
A choicePicture
A file pathA screenshot of what to watch for, e.g. made with Take Screenshot or the Snipping Tool.
Color tolerance (%)
A whole numberHow much colors may differ, for shading and smoothing. 0 means exactly the same pixels.
Text
TextWhat to look for, e.g. a button's label.
Match case
On or off More optionsPoint X
A whole numberPhysical pixels on the whole desktop; Pick point fills it in.
Point Y
A whole numberColor
TextAs #RRGGBB.
Changes by at least (%)
A whole numberHow much of the area must look different from the last look.
Look in
A choiceX
PixelsWith an area: physical pixels on the whole desktop.
Y
PixelsWidth
PixelsHeight
PixelsOnly while this app is in front
A program (process name)e.g. game.exe (the .exe is optional). Nothing is looked at while another app is in front. Empty: any app.
Check every (ms)
A durationAt least 100 ms for pictures, colors and changes, and 1000 ms for text.
For at least (ms)
A durationHow long it must stay that way before the macro starts. 0: at once.
Outputs
Values the step gives to the steps after it. In the Graph view, drag a wire from an output to another step's field.
| Output | Gives | What it is |
|---|---|---|
| X | Pixels | The middle of what was found (a picture or text); the point for a color; the area's middle otherwise. |
| Y | Pixels | |
| Left | Pixels | |
| Top | Pixels | |
| Text | Text | With text: what was read in the area. |
Good to know
- Wait for Event can wait for it in the middle of a macro, with the same settings.