Wait for On-Screen Pixel Color Change (Wait Pixel) in RunMacro
Desktop ModeRunMacro 3.5+
Wait Pixel monitors RGB values at specific screen coordinates in RunMacro, resuming execution the moment target colors match with minimal CPU usage.
Dialog & quick setup

- In RunMacro, open the Image › Wait Pixel command.
- Click 🎯 Pick Pixel and left-click the target on-screen pixel to automatically capture X, Y and RGB values.
- Set Tolerance (default 10–15 to accommodate minor OS anti-aliasing or compression shifts).
- Configure Timeout (ms) (e.g. 5000ms or 10000ms).
- Click Save to insert the command into your workflow.
Options reference
Modes & when to use
Desktop Mode
Samples 1x1 pixel bitmaps via Windows GDI with ultra-fast responsiveness.
Best for
- Waiting for a connection status indicator to change from red to green in device control utilities.
- Waiting for an action button to change background color once background compilation finishes.
- Detecting 100% completion on progress bars by inspecting the pixel at the bar's rightmost edge.
- Synchronizing canvas graphics, emulators, or game states where standard UIA trees are unavailable.
Use an alternative when
- Target element position shifts dynamically across runs (use Find Image or Smart Desktop Wait).
- Web browser automation (use Smart HTML Wait).
Before you run
- Target screen pixel is visible and unobscured by overlapping windows.
Example workflow
Example: Wait for status indicator to turn green RGB(34, 197, 94)
- Add a Wait Pixel command after clicking 'Connect Device'.
- Use Pick Pixel to sample the LED indicator location.
- Set RGB to
(34, 197, 94), Tolerance to15, and Timeout to8000ms. - When connection establishes and the LED turns green, RunMacro resumes instantly to begin data transmission.
Expected result: Execution resumes instantaneously once the target pixel matches designated RGB parameters.
Tips & limitations
A Tolerance of 15 is optimal across Windows apps to absorb font smoothing (ClearType) color variations.
Ensure the target window is not obscured or overlapped by other windows during pixel monitoring.
- Windows Night Light or HDR color mapping may slightly shift raw RGB values.
Applies to RunMacro 3.5+ · Desktop Mode · Windows 10/11
