Jaboowaki Posted February 10, 2012 Share Posted February 10, 2012 How do I select a value in a combobox on a webpage? <AutoIt> Local $oText = _IEGetObjById($oIE, "ProductDetailsForm_FolderID") If StringLeft($itemArray[1][43], 1) = 1 Then _IEFormElementOptionselect($oText, "BID", 1, 10007634, 1) Else _IEFormElementOptionselect($oText, "QC", 1, 10007053, 1) EndIf</Autoit> Link to comment Share on other sites More sharing options...
Jaboowaki Posted February 10, 2012 Author Share Posted February 10, 2012 Solution: _IEFormElementSetValue($oText, "10007053") $oText.fireEvent("onchange") 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