DocsMouseSmart Toggle Checkbox

Automate Desktop Checkbox & Radio Toggling (Smart Toggle) in RunMacro

Desktop ModeRunMacro 3.5+

Smart Toggle Checkbox sets definitive Check, Uncheck, or Toggle states on desktop CheckBoxes and RadioButtons via Windows UI Automation.

Dialog & quick setup

RunMacro Smart Toggle Checkbox command configuration dialog showing parameter fields
Configuration dialog and parameter fields for the Smart Toggle Checkbox command in RunMacro.
  1. In RunMacro, select the Mouse › Smart Toggle Checkbox command.
  2. Click 🎯 Pick Element and hover over the target Checkbox or RadioButton to pick.
  3. Choose the Action: Check, Uncheck, or Toggle.
  4. Configure Timeout (ms) for control resolution (default 2000ms).
  5. Click Save to insert the command into your workflow.

Options reference

🎯 Pick Element

Interactive target picker overlay to capture CheckBox UIA identification properties.

Action

Target state operation: check (ensures checked), uncheck (ensures unchecked), toggle (inverts current state).

Timeout (ms)

Maximum time to locate and interact with the toggle control (default 2000ms).

Modes & when to use

Desktop Mode

Interacts directly via UIA TogglePattern without requiring cursor movement.

Best for

  • Guaranteeing that 'I agree to the terms' checkboxes are explicitly checked in registration flows.
  • Unchecking bundled software or telemetry checkboxes in automated application setup wizards.
  • Activating 'Remember me' or 'Launch on startup' toggles in desktop administration tools.
  • Configuring standardized computer settings based on automated audit checklists.

Use an alternative when

  • Web browser checkboxes (use Smart HTML).
  • Standard command buttons (use Smart Click).
Before you run
  • Target desktop application displays the target CheckBox or RadioButton.

Example workflow

Example: Ensure 'Remember credentials' is always checked

  1. Add a Smart Toggle Checkbox command.
  2. Pick the 'Remember Login' checkbox on the application login dialog.
  3. Set action to Check.
  4. During execution, if unchecked it activates; if already checked it safely remains checked without flipping.
Expected result: The checkbox or radio control is set definitively to the requested state.

Tips & limitations

Prefer explicit Check or Uncheck over Toggle to make workflows idempotent across repeated runs.
Checking a RadioButton within a mutual RadioGroup will automatically deselect peer options per standard Windows behavior.
  • Custom graphic toggles lacking UIA TogglePattern support require Find Image paired with Click.

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.