Mouse button down & up (drag) in RunMacro
Desktop ModeBrowser ModeRunMacro 3.5+
Mouse Button presses or releases one button as a separate event for controlled drag sequences.
Dialog & quick setup

- Add a Mouse › Mouse Button command.
- Choose the action: Down (press) or Up (release).
- Choose the button: Left / Right / Middle.
- Set the
X, Ycoordinates withF2. - Save. For drag & drop, create 3 steps: Button Down → Mouse Move → Button Up.
Options reference
Modes & when to use
Desktop Mode
Browser Mode
Runs in the background through Chrome CDP: the command dispatches a mouse-down or mouse-up event into the page at viewport coordinates.
Best for
- Drag & drop: Down at A → Move to B → Up at B.
- Hold the button to select/highlight a region.
- Split press and release for precise control.
Use an alternative when
- Only an immediate click is needed; use Mouse Click instead.
- The workflow cannot guarantee matching Down and Up events.
Before you run
- The target application is ready to receive mouse events.
- The coordinates and button action are configured.
Example workflow
Example: drag and drop an icon
- Mouse Button Down (left) at the icon.
- Mouse Move to the destination.
- Mouse Button Up (left) at the destination to drop.
Expected result: The selected mouse button is pressed or released at the configured coordinates.
Tips & limitations
Always pair every Down with an Up, otherwise the button stays stuck in the held state.
Add a short Wait between Down → Move → Up for a more reliable drag.
- Down and Up should be paired to avoid an unintended held state.
- Coordinates depend on layout and window position.
Applies to RunMacro 3.5+ · Desktop Mode & Browser Mode · Windows 10/11
