kmaclamore Posted May 7, 2015 Share Posted May 7, 2015 Hello! I am trying to automate the selecting of combo box choices in a 3rd party app. When an option is chosen for combo box 1 by a user, combo box 2 loads a set of choices. Problem: When AutoIt selects an option for combo box 1, combo box 2 options are not loaded.I am using _GUICtrlComboBox_SetCurSel. I am thinking that the 3rd party app may be dependent on mouse clicks, but I'm not sure how to mouse-click an option from a dropdown menu using AutoIt. Any help or thoughts would be much appreciated! Link to comment Share on other sites More sharing options...
CodeTinkerer Posted May 7, 2015 Share Posted May 7, 2015 Ive had luck in the past with 3rd party apps and mouse clicking buttons. I got around it with ControlClick then MouseClick on top of that. Perpaps try ControlClick on the combobox, then _GUICtrlComboBox_SetCurSel? Understandably the automation speed might not be quite as fast but.... thats my thoughts. Link to comment Share on other sites More sharing options...
Moderators JLogan3o13 Posted May 7, 2015 Moderators Share Posted May 7, 2015 How about sharing what the 3rd party app is, or a screen shot? Also what do you see regarding the combo boxes when you use the AutoIt Window Info Tool? "Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball How to get your question answered on this forum! Link to comment Share on other sites More sharing options...
kmaclamore Posted May 7, 2015 Author Share Posted May 7, 2015 Ive had luck in the past with 3rd party apps and mouse clicking buttons. I got around it with ControlClick then MouseClick on top of that. Perpaps try ControlClick on the combobox, then _GUICtrlComboBox_SetCurSel? Understandably the automation speed might not be quite as fast but.... thats my thoughts.No luck - good suggestion though! The ControlClick successfully gets the drop-down menu, but then _GuiCtrlComboBox_SetCurSel doesn't work. If only there was a way to click options in the drop-down... How about sharing what the 3rd party app is, or a screen shot? Also what do you see regarding the combo boxes when you use the AutoIt Window Info Tool?The program gets data (perhaps the second combo box data) from somewhere on the network. Both combo boxes are of class: WindowsForms10.COMBOBOX.app.0.2bf8098_r13. Thanks for your thoughts on this problem given the little bit of information. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now