Docs

RunMacro Documentation

Learn RunMacro from basics to advanced.

Everything you need to start and master RunMacro — from basic commands to advanced automation workflows.

RunMacro robot
Docs Window Move / Resize Window
📐 Window

Move and resize a window in RunMacro

What it does

The Move/Resize Window command places a window at the exact position and size you want, or maximizes / minimizes / restores it. RunMacro compensates for invisible borders so the visible bounds land precisely.

When to use it

  • Pin a window position/size so coordinate clicks stay stable.
  • Arrange several windows side by side.
  • Maximize a window before acting for clarity.
  • Minimize an unneeded window.

Configuration steps

  1. Add a Window › Move/Resize Window command.
  2. Pick the target window.
  3. Choose a state: Normal (set X/Y + width/height), Maximize, or Minimize.
  4. For Normal, enter the desired position and size.
  5. Save.

Every option explained

Window title

The window to move/resize.

State (Normal / Maximize / Minimize)

Normal uses X/Y and size; Maximize/Minimize ignore coordinates.

X, Y coordinates

Top-left position of the window (in Normal state).

Width, Height

The window size. Set 0 to keep the current size and only move it.

Bring to front first (switch before)

Focus the window before moving/resizing for more reliable results.

Real example

Example: dock a window at top-left 1280x720

  1. Move/Resize Window, pick the target, Normal state.
  2. Set X=0, Y=0, Width=1280, Height=720.
  3. Save and run — the window snaps to a stable position/size for clicking.

Tips & common mistakes

Fixing the window size keeps coordinate-based Mouse Click accurate every run.
Some windows running as Admin may refuse to move — run RunMacro with a matching privilege.
RunMacro robot

Ready to automate smarter?

Download RunMacro and start automating your desktop, browser, and business workflows today.