Skip to main content

Set Combobox

Selects a specific value in a combobox element.

Common Properties

  • Name - The custom name of the node.
  • Color - The custom color of the node.
  • Delay Before (sec) - Waits in seconds before executing the node.
  • Delay After (sec) - Waits in seconds after executing node.
  • Continue On Error - Automation will continue regardless of any error. The default value is false.
info

If the ContinueOnError property is true, no error is caught when the project is executed, even if a Catch node is used.

Inputs

  • Handle - The handle of the window containing the combobox.
  • Window Selector - The selector for identifying the target window.
  • Element Selector - The selector for identifying the combobox element.
  • Value - The value to select in the combobox (item name as string).

Options

  • Simulate Move - Whether to simulate mouse movement to the element before selecting. Default is false.
  • Show Window - Whether to show the window before interacting with it. Default is false.

How It Works

The Set Combobox node selects a specific value in a combobox element. When executed, the node:

  1. Uses the Window Selector and Element Selector to locate the target combobox element
  2. Selects the specified value in the combobox by its item name
  3. Optionally simulates mouse movement to the element before selection

Requirements

  • The target element must be a combobox that supports selection
  • Both Window Selector and Element Selector are required to identify the target element
  • The specified Value must exist in the combobox

Error Handling

The node will return specific errors in the following cases:

  • Empty or invalid Window Selector or Element Selector
  • Element not found
  • Specified Value not found in the combobox
  • Element is not a combobox or doesn't support selection

Usage Notes

  • The Value input should match the exact display text of the item to select
  • For editable comboboxes, this will select an existing item or set the text value
  • The Simulate Move option can help with elements that require mouse interaction
  • This node is useful for configuring settings or filling out forms with combobox options
  • The combobox element must be enabled and visible to be interacted with