Skip to content

Screen Watch

  • Trigger
  • Screen
  • Advanced mode

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 choice
  • A picture appears: A PNG of a button or icon shows up; transparent parts match anything.
  • A picture disappears
  • Text appears: Read with Windows' own text recognition, offline.
  • Text disappears
  • A point has a color
  • A point stops having a color
  • The area changes: Something in the area looks different from the last look.

Starts as: A picture appears

Picture

A file path

A screenshot of what to watch for, e.g. made with Take Screenshot or the Snipping Tool.

Starts as: empty Takes ${variables} and expressions

Color tolerance (%)

A whole number

How much colors may differ, for shading and smoothing. 0 means exactly the same pixels.

Starts as: 10

Text

Text

What to look for, e.g. a button's label.

Starts as: empty

Match case

On or off More options

Starts as: Off

Point X

A whole number

Physical pixels on the whole desktop; Pick point fills it in.

Starts as: 0

Point Y

A whole number

Starts as: 0

Color

Text

As #RRGGBB.

Starts as: #3B7FD4

Changes by at least (%)

A whole number

How much of the area must look different from the last look.

Starts as: 2

Look in

A choice
  • The window in front
  • The monitor with the mouse
  • Every monitor: Costs the most: watch a smaller area when you can.
  • An area (X, Y, width, height): Pick area fills these in.

Starts as: The window in front

X

Pixels

With an area: physical pixels on the whole desktop.

Starts as: 0

Y

Pixels

Starts as: 0

Width

Pixels

Starts as: 400

Height

Pixels

Starts as: 300

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

Starts as: empty

Check every (ms)

A duration

At least 100 ms for pictures, colors and changes, and 1000 ms for text.

Starts as: 500

For at least (ms)

A duration

How long it must stay that way before the macro starts. 0: at once.

Starts as: 0

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.

Screen Watch outputs
OutputGivesWhat it is
XPixelsThe middle of what was found (a picture or text); the point for a color; the area's middle otherwise.
YPixels
LeftPixels
TopPixels
TextTextWith 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.

More in Screen