Docs

RunMacro Documentation

Create your first robot, then go further as needed.

Clear step-by-step guides to create, run, and improve robots for repetitive computer work.

Docs Mouse Hold Click
⏳ Mouse

Auto hold click in RunMacro

Hold Click keeps the selected button pressed at configured coordinates or the current position, then releases it automatically.

Prerequisites#

  • The target application is ready for a held mouse action.
  • The position, button, and hold duration are configured.

Supported modes#

  • Desktop Mode

What it does#

The Hold Click command auto-holds a mouse button at a set position for a duration you choose (e.g. 2 seconds), then releases it automatically.

Screenshots & video#

RunMacro Hold Click command configuration dialog showing parameter fields
Configuration dialog and parameter fields for the Hold Click command in RunMacro.

When to use it#

  • Games that need a held button to charge or keep moving.
  • Hold to trigger a long-press menu.
  • Any action that needs press-and-hold for a while.

When not to use it#

  • A drag must pass through multiple coordinates; use Mouse Button Down/Up with Mouse Move.
  • Press and release events need separate control.

Configuration steps#

  1. Add a Mouse › Hold Click command.
  2. Set coordinates with F2, or enable Use current position.
  3. Choose the mouse button.
  4. Enter the hold time (ms) — e.g. 2000 = 2 seconds.
  5. Save.

Every option explained#

X, Y / Use current position#

Where to hold. Enable use-current-position to hold right where the cursor is.

Mouse button#

The button to hold (usually Left).

Hold time (ms)#

How long to hold before releasing. 1000 = 1 second.

Jitter / micro-delay (natural-timing)#

Adds small wobble and delay before holding, like a human hand — same as Mouse Click.

Expected result#

The selected mouse button is held for the configured duration and then released.

Real example#

Example: hold left click for 3 seconds in a game#

  1. Add a Hold Click, aim at the target with F2.
  2. Choose the Left button.
  3. Enter hold time 3000 (3 seconds).
  4. Save and run — RunMacro holds for 3 seconds then releases.

Limitations and failure cases#

  • The action depends on window state and pointer position.
  • The hold duration does not guarantee that the target application has finished processing its response.

Tips & common mistakes#

Time is in milliseconds: 2000 = 2 seconds. Press the RunMacro stop hotkey to interrupt.
For drag-and-drop (hold then move), use Mouse Button (Down/Up) with Mouse Move instead of Hold Click.

Verification details#

  • commands/mouse.py
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.