sandeep Posted April 13, 2007 Share Posted April 13, 2007 HI As I am trying to get the control(number of list items and currently selected) of the combo box from my application. But when i run my code i m getting output as Zero. Can somebody please help me finding what am i doing wrong :"> #Include <GuiCombo.au3> $id = 22032 #region --- ScriptWriter generated code Start --- Opt("WinWaitDelay",100) Opt("WinTitleMatchMode",4) Opt("WinDetectHiddenText",1) Opt("MouseCoordMode",0) WinWait("EFI Colorproof XF Client","wxtreelistmainwindow") If Not WinActive("EFI Colorproof XF Client","wxtreelistmainwindow") Then WinActivate("EFI Colorproof XF Client","wxtreelistmainwindow") WinWaitActive("EFI Colorproof XF Client","wxtreelistmainwindow") MouseMove(914,408) MouseDown("left") MouseUp("left") Dim $count1 = _GUICtrlComboGetCount($id) MouseMove(1148,471) MouseClick("left",1148,471,1) $list = _GUICtrlComboGetList(22032) $ret = _GUICtrlComboGetCurSel($id) MouseMove(1107,504) MouseDown("left") MouseUp("left") MouseMove(902,423) MouseDown("left") MouseUp("left") msgbox(0,"so",$list) msgbox(0,"so",$ret) Link to comment Share on other sites More sharing options...
Zedna Posted April 13, 2007 Share Posted April 13, 2007 Look at ControlCommand() - there are commands for ComboBox Resources UDF ResourcesEx UDF AutoIt Forum Search 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