AlexProX Posted February 10, 2015 Share Posted February 10, 2015 (edited) Okay, boys and girls. I have read your posts above and didn't find answer for my following question: How to use ComboBox(DropDown) entry selection? There is function: _GUICtrlComboBox_SelectString "If a matching item is found, it is selected and copied to the edit control." I have following script: "#include <GuiComboBox.au3> _GUICtrlComboBox_SelectString(5047, "Broker Contract")" >>>> Control <<<< Class: ComboBox Instance: 1 ClassnameNN: ComboBox1 Name: Advanced (Class): [CLASS:ComboBox; INSTANCE:1] ID: 5047 Text: Position: 149, 105 Size: 260, 21 ControlClick Coords: 79, 11 Style: 0x50010203 ExStyle: 0x00000004 Handle: 0x00550D5A From console: >"...autoit3.exe" /ErrorStdOut "...XA_New_ResCon.au3" >Exit code: 0 Time: 3.212 No errors... No selection of necessary entry... What's wrong? Edited February 10, 2015 by AlexProX Link to comment Share on other sites More sharing options...
Moderators Melba23 Posted February 10, 2015 Moderators Share Posted February 10, 2015 AlexProX,Did you notice that the last post in the thread you originally hijacked dated from over 9 years ago and that the OP had not been online for over 7 years? Please do not necro-post like that again - just open a new thread (as I have now done for you) and link to the old one if it is absolutely necessary for understanding the problem. We ask you to do this for two main reasons: - 1. The language advances and the functionality might well be included in core or UDF code by now- 2. The changes in language syntax mean that it is likely that code from more than a couple of years ago may well not run under the current release interpreter without significant modification.Thanks for your understanding. M23 Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind Open spoiler to see my UDFs: Spoiler ArrayMultiColSort ---- Sort arrays on multiple columnsChooseFileFolder ---- Single and multiple selections from specified path treeview listingDate_Time_Convert -- Easily convert date/time formats, including the language usedExtMsgBox --------- A highly customisable replacement for MsgBoxGUIExtender -------- Extend and retract multiple sections within a GUIGUIFrame ---------- Subdivide GUIs into many adjustable framesGUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView itemsGUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeViewMarquee ----------- Scrolling tickertape GUIsNoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxesNotify ------------- Small notifications on the edge of the displayScrollbars ----------Automatically sized scrollbars with a single commandStringSize ---------- Automatically size controls to fit textToast -------------- Small GUIs which pop out of the notification area 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