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

- Add a Window › Move/Resize Window command.
- Pick the target window.
- Choose a state: Normal (set X/Y + width/height), Maximize, or Minimize.
- For Normal, enter the desired position and size.
- Save.
Options reference
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
- Move/Resize Window, pick the target, Normal state.
- Set X=0, Y=0, Width=1280, Height=720.
- 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
