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

- In RunMacro, open the Mouse › Smart Select Dropdown command.
- Click 🎯 Pick Element and click the target ComboBox on your desktop application.
- In Item Text, type the target label (e.g. New York) or a dynamic variable
{city}. - Select Match Mode: exact or contains.
- Set the Timeout (ms) for item search (default 2000ms).
- Click Save to insert the command into your workflow.
Options reference
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
- Use Get Data Row to load the branch name into variable
{branch}. - Add a Smart Select Dropdown command.
- Pick the 'Branch' ComboBox inside the banking software.
- Set Item Text to
{branch}and match mode to contains. - 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
