DocsWindowMove / Resize Window

Move and resize a window in RunMacro

Desktop ModeRunMacro 3.5+

The Move/Resize Window command places a window at the exact position and size you want, or maximizes / minimizes / restores it.

Dialog & quick setup

RunMacro Move / Resize Window command configuration dialog showing parameter fields
Configuration dialog and parameter fields for the Move / Resize Window command in RunMacro.
  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.

Options reference

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.

Modes & when to use

Desktop Mode

Best for

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

Use an alternative when

  • Do not use it for system-managed windows or windows that must remain maximized/fullscreen.
Before you run
  • Add Move / Resize Window to the macro.
  • Prepare the data or target that Move / Resize Window will use.

Example workflow

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.
Expected result: After execution, Move / Resize Window completes the described action and makes its result available to the next step.

Tips & limitations

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.
  • DPI, size constraints, multiple monitors, and off-screen coordinates can change the result.

Applies to RunMacro 3.5+ · Desktop Mode · Windows 10/11

RunMacro robot

Robots do the work. Your time is yours.

Create a robot in minutes, no coding needed. Reliable execution, remote management, transparent costs — and you always stay in control.