DocsMouseSmart Select Dropdown

Automate Desktop Dropdown & ComboBox Selection (Smart Select) in RunMacro

Desktop ModeRunMacro 3.5+

Smart Select Dropdown automates selecting items in desktop ComboBoxes via Windows UI Automation using exact text or dynamic variables.

Dialog & quick setup

RunMacro Smart Select Dropdown command configuration dialog showing parameter fields
Configuration dialog and parameter fields for the Smart Select Dropdown command in RunMacro.
  1. In RunMacro, open the Mouse › Smart Select Dropdown command.
  2. Click 🎯 Pick Element and click the target ComboBox on your desktop application.
  3. In Item Text, type the target label (e.g. New York) or a dynamic variable {city}.
  4. Select Match Mode: exact or contains.
  5. Set the Timeout (ms) for item search (default 2000ms).
  6. Click Save to insert the command into your workflow.

Options reference

🎯 Pick Element

Interactive target picker overlay to capture the ComboBox control UIA identification properties.

Item Text

String label of the item to select inside the dropdown list (supports variables such as {branch_name}).

Match Mode

Matching strategy: exact (case-insensitive full match) or contains (substring match).

Timeout (ms)

Maximum time to wait for the dropdown to open and resolve the target item (default 2000ms).

Modes & when to use

Desktop Mode

Selects items via UIA SelectionItemPattern and ExpandCollapsePattern.

Best for

  • Selecting provinces, cities, or bank branch locations from long dropdown lists containing hundreds of items.
  • Selecting currencies, payment methods, or shipping terms in retail POS and ERP applications.
  • Switching report views, filter categories, or fiscal years in desktop accounting software.
  • Batch processing customer records where each entry requires a distinct dropdown item extracted from an Excel file.

Use an alternative when

  • HTML <select> elements in web browsers (use Smart HTML).
  • Right-click context menus (use Smart Click with Right Click strategy).
Before you run
  • Target desktop application displays the target ComboBox or dropdown list.

Example workflow

Example: Select bank branch driven by Excel data variable

  1. Use Get Data Row to load the branch name into variable {branch}.
  2. Add a Smart Select Dropdown command.
  3. Pick the 'Branch' ComboBox inside the banking software.
  4. Set Item Text to {branch} and match mode to contains.
  5. Execute — the dropdown automatically selects the exact branch without manual menu hovering.
Expected result: The specified item is selected and the ComboBox displays the updated value.

Tips & limitations

When item names include prefixes or trailing codes, contains mode ensures reliable selection.
If the dropdown is an autocomplete search input, consider combining with Smart Desktop Type.
  • Custom OwnerDraw controls lacking UIA list children may require arrow keystroke navigation.

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.