09-22-2014, 05:30 PM
Hi,
I have an application where I need to automate selecting an item from a combobox, but the items in the combobox are not necessarily always in the same order (or the same number of items) so I can't just select by mouse xy or index position.
[Combo box]
Dog
Horse
Cow
Chicken
Pig
Is there a way to activate an item in a combo box by its name--for example always pick Cow from the list, regardless of its index position?
Thanks!
Tony
I have an application where I need to automate selecting an item from a combobox, but the items in the combobox are not necessarily always in the same order (or the same number of items) so I can't just select by mouse xy or index position.
[Combo box]
Dog
Horse
Cow
Chicken
Pig
Is there a way to activate an item in a combo box by its name--for example always pick Cow from the list, regardless of its index position?
Thanks!
Tony