Mouse Click Command Reference (Coordinates & F2 Capture)
Desktop ModeBrowser ModeRunMacro 3.5+
Mouse Click triggers a left click, double click, or right click at saved X, Y coordinates (or the live pointer position) — running in both Desktop Mode and Chrome CDP Browser Mode.
Dialog & quick setup

- In RunMacro Studio, click Add and choose Mouse › Mouse Click.
- Click Pick Coordinate on Screen (Press Space) or hover over the target and press F2 to capture X, Y coordinates.
- To click wherever the pointer already sits, check Click at current mouse position.
- Choose the click type: Left Click (Default), Double Click, or Right Click.
- Configure Delay after command (Min–Max, default 500–1500 ms) or check No delay (0ms), and optionally override On Error Action.
- Switch to Advanced (Human-like) if you need offset jitter or micro-delay, then click Save.
Options reference
Modes & when to use
Desktop Mode
Moves and clicks the Windows system cursor, briefly taking control of the physical mouse.
Browser Mode
Dispatches clicks directly to Chrome viewport coordinates via CDP without taking over your mouse. Position offset and Random X/Y are skipped in this mode.
Best for
- Click buttons, inputs, or toolbar icons that stay at a fixed screen position.
- Choose Double Click to open files, folders, or select a word.
- Choose Right Click to open a context menu.
- Click at the live cursor position right after a Mouse Move or Find Image step.
Use an alternative when
- The target element moves when scrolling or resizing the window.
- You need uninterrupted use of your physical mouse during a Desktop Mode run.
- The clickable hitbox is narrower than your configured position offset.
Before you run
- The target window is visible on screen (Desktop Mode) or attached via Chrome CDP (Browser Mode).
- Coordinates were captured with F2/Space or supplied via valid numeric variables.
Example workflow
Example: click a fixed "Sign in" button
- Add a Mouse Click step to your workflow.
- Hover over the "Sign in" button and press F2 to capture its X, Y coordinates.
- Keep Left Click (Default) and set Delay after command to 800–1200 ms so the page can load.
- Click Save and test — RunMacro clicks the button and pauses before the next step.
Expected result: RunMacro performs the chosen click at the configured point, then waits for Delay after command before continuing.
Tips & limitations
When a button shifts across screen sizes or dynamic layouts, prefer Smart Click, Find Image, or Smart HTML over fixed coordinates.
After changing monitor resolution, Windows DPI scaling, or window placement, reopen the dialog and re-capture coordinates with F2.
- In Desktop Mode, clicks miss if another window covers the target or the app has not finished rendering.
- When coordinates come from
{x}or{y}variables, an empty or non-numeric resolved value triggers On Error Action. - In Chrome CDP Browser Mode, human-like offset jitter in the Advanced tab is ignored.
Applies to RunMacro 3.5+ · Desktop Mode & Browser Mode · Windows 10/11
