FrancescoDiMuro Posted March 6, 2019 Posted March 6, 2019 @ShrutiW You should play a little bit with _GUIComboBox_* functions. In that way, you can see how much further you can go with those, since they are the only ones that seems to work* *Another possible solution could be use UI Automation, but let it be the "last" resource to use Click here to see my signature: Spoiler ALWAYS GOOD TO READ: Forum Rules Forum Etiquette
ShrutiW Posted March 6, 2019 Author Posted March 6, 2019 @FrancescoDiMuro I have worked on some combobox functions and tried the following code. Still it's not working. 😫 If IsHWnd($hdlComboBox) Then If ControlCommand("CSR Team Information","",$hdlComboBox,"FindString",'Open Work Items : 000000061 | Green Bay/CCP IT Team/CCP IT Support Team') Then ControlCommand("CSR Team Information", "", $hdlComboBox, 'SelectString', 'Open Work Items : 000000061 | Green Bay/CCP IT Team/CCP IT Support Team') MsgBox($MB_ICONINFORMATION, "", "The ComboBox item has been set.") Else MsgBox($MB_ICONERROR, "", "Error during the setting of the ComboBox item.") EndIf Else MsgBox($MB_ICONERROR, "", "Cannot obtain the handle of the ComboBox control." & @CRLF & "Error: " & @error) EndIf
FrancescoDiMuro Posted March 7, 2019 Posted March 7, 2019 @ShrutiW Difficult to guess... Try UI Automation so. You can find more about here Click here to see my signature: Spoiler ALWAYS GOOD TO READ: Forum Rules Forum Etiquette
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