Python-UIAutomation-for-Windows
Python-UIAutomation-for-Windows copied to clipboard
How to fast click to ComboBoxControl witchout mouse moving
Hello, i have ComboBox
he has 2 item [IMAP,POP3], how i can fast and without mouse moving select one of item ?
my code
ThunderBirdWindow = auto.WindowControl(searchDepth=3, ClassName='MozillaDialogClass')
*****
ThunderBirdWindow.ComboBoxControl(foundIndex=1).Select("POP3")
@NeilRiver
ThunderBirdWindow = auto.WindowControl(searchDepth=3, ClassName='MozillaDialogClass')
ProtocolComboBox = ThunderBirdWindow.ComboBoxControl(foundIndex=1) POP3 = ProtocolComboBox.ListItemControl(Name="POP3", searchDepth=1) POP3.GetSelectionItemPattern().Select()
the latest supports Select('test', simulateMove=False)